Advertisement
yo2man

Android List and Adapters

Jul 11th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. // Android List and Adapters: Updating the Data
  2.  
  3. We're going to reword Stormy to use more of the data we get from the forecast API.
  4. We will add two lists.
  5. One to show the hourly forecast for the next two days and another for
  6. the daily forecast for the upcoming week.
  7. On each list we will let users tap on an item to see a few more brief details.
  8. You will start by seeing how to use some simple default list views and adapters,
  9. which is helpful for certain kinds of lists, but we have a lot of data to show.
  10. So we'll progress the custom list view items and
  11. the custom adapters needed for the extra data.
  12. We'll also see how to do that same kind of work using a newer component called
  13. Recycler view.
  14. Finally, we'll see how to tap into touch advance that let us take action
  15. when an item is tapped on in the list.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement