Wrapping Up2:09 with Ken Alger
Nice work on completing another Android project! Here's some thoughts on where to go next.
All right, we did it! 0:00 We originally started on this app with a simple web request 0:02 to get some weather data from the dark sky API. 0:05 Now, we have an even more functional app with details about the upcoming dates. 0:09 Recycler views are the focus of this course, and 0:14 are used quite often in Android apps. 0:17 We first identify the model, the data we want to display. 0:19 Then, we create the view, a layout, 0:23 just like an activity layout, except confined to a smaller rectangle. 0:26 Finally, we control it with an adapter which populates the view with the data for 0:30 each item in the list. 0:35 This is a great example of the NBC design pattern at work. 0:36 Once again, there's a lot more that can be done with this app. 0:41 If you haven't already, why don't you try using the Android location APIs 0:44 to determine the users current location automatically. 0:49 Maybe you could even allow users to switch between more than one location. 0:53 Check out our data persistence course if you need help with storing data. 0:57 The dark sky API provides additional information that we aren't using as well, 1:01 such as weekly forecast data. 1:06 You now have the skills to add another activity to the app that displays 1:08 that info in a list. 1:12 You could try to display more of it in a useful manner, too. 1:14 Or maybe even try adding some additional features from the last video, 1:17 like animating some of the information onto the screen. 1:22 Recycler views have a specialized class called item animator 1:25 that makes it much easier to animate items in a list. 1:30 Lastly, recycler views are very flexible. 1:34 Check the documentation and see if you can configure a recycler view to display items 1:38 in a grid instead of a list. 1:42 All right, so make sure to check the links in the teacher's notes for 1:45 some helpful documentation. 1:48 My teammates and I, as well as other students, love seeing what you build. 1:50 So be sure to share in the forum. 1:54 Also, drop by and see if you can help anyone who is stuck on anything in this or 1:56 an earlier course. 2:01 Because teaching something is the best way to fully understand and retain it. 2:02 Until next time, happy coding. 2:07
You need to sign up for Treehouse in order to download course files.Sign up