1 00:00:00,840 --> 00:00:02,570 All right, we did it! 2 00:00:02,570 --> 00:00:05,810 We originally started on this app with a simple web request 3 00:00:05,810 --> 00:00:09,030 to get some weather data from the dark sky API. 4 00:00:09,030 --> 00:00:12,990 Now, we have an even more functional app with details about the upcoming dates. 5 00:00:14,290 --> 00:00:17,150 Recycler views are the focus of this course, and 6 00:00:17,150 --> 00:00:19,590 are used quite often in Android apps. 7 00:00:19,590 --> 00:00:23,430 We first identify the model, the data we want to display. 8 00:00:23,430 --> 00:00:26,050 Then, we create the view, a layout, 9 00:00:26,050 --> 00:00:30,710 just like an activity layout, except confined to a smaller rectangle. 10 00:00:30,710 --> 00:00:35,250 Finally, we control it with an adapter which populates the view with the data for 11 00:00:35,250 --> 00:00:36,830 each item in the list. 12 00:00:36,830 --> 00:00:40,200 This is a great example of the NBC design pattern at work. 13 00:00:41,740 --> 00:00:44,800 Once again, there's a lot more that can be done with this app. 14 00:00:44,800 --> 00:00:49,610 If you haven't already, why don't you try using the Android location APIs 15 00:00:49,610 --> 00:00:53,050 to determine the users current location automatically. 16 00:00:53,050 --> 00:00:57,280 Maybe you could even allow users to switch between more than one location. 17 00:00:57,280 --> 00:01:00,370 Check out our data persistence course if you need help with storing data. 18 00:01:01,780 --> 00:01:06,510 The dark sky API provides additional information that we aren't using as well, 19 00:01:06,510 --> 00:01:08,550 such as weekly forecast data. 20 00:01:08,550 --> 00:01:12,380 You now have the skills to add another activity to the app that displays 21 00:01:12,380 --> 00:01:14,420 that info in a list. 22 00:01:14,420 --> 00:01:17,900 You could try to display more of it in a useful manner, too. 23 00:01:17,900 --> 00:01:22,020 Or maybe even try adding some additional features from the last video, 24 00:01:22,020 --> 00:01:24,590 like animating some of the information onto the screen. 25 00:01:25,800 --> 00:01:30,130 Recycler views have a specialized class called item animator 26 00:01:30,130 --> 00:01:33,130 that makes it much easier to animate items in a list. 27 00:01:34,370 --> 00:01:38,020 Lastly, recycler views are very flexible. 28 00:01:38,020 --> 00:01:42,820 Check the documentation and see if you can configure a recycler view to display items 29 00:01:42,820 --> 00:01:44,259 in a grid instead of a list. 30 00:01:45,530 --> 00:01:48,640 All right, so make sure to check the links in the teacher's notes for 31 00:01:48,640 --> 00:01:50,620 some helpful documentation. 32 00:01:50,620 --> 00:01:54,850 My teammates and I, as well as other students, love seeing what you build. 33 00:01:54,850 --> 00:01:56,802 So be sure to share in the forum. 34 00:01:56,802 --> 00:02:01,502 Also, drop by and see if you can help anyone who is stuck on anything in this or 35 00:02:01,502 --> 00:02:02,772 an earlier course. 36 00:02:02,772 --> 00:02:07,132 Because teaching something is the best way to fully understand and retain it. 37 00:02:07,132 --> 00:02:08,932 Until next time, happy coding.