Join Albert Lo for an in-depth discussion in this video Incorporate the GridRecyclerView, part of Android Development: Modern Android UI Design Elements.
- [Narrator] Now that we have completed our view holders…and our recycler view adapters,…we are now ready to incorporate them…into our Google Photos Fragment.…So let's open up our Android Project View…with Command one.…And we go into our package and we go into Google Photos…and open up Google Photos fragment.…And we dismiss our project view.…So let's scroll down to the On View Created.…We want to add the recycler view…and the album grid adapter here,…right around line 55.…
So let's go up to the beginning of the file…and we'll add some private class members first.…First one is Album Grid Adapter.…And we'll name it Adapter.…The next one is Grid Recycler View.…And we will name it Grid.…The final one is the Text View.…This will hold our account names.…We will give it the name Account Name.…
Now let's scroll back down to On View Created.…We're going to first initialize the account name…and we cast it to Text View.…We will call the Find View by ID Method of View.…And we will use the ID account name.…Next, we will initialize our Grid Recycler View.…
- Creating a custom layout with XML
- Setting up OnClick handlers
- Making API calls
- Creating custom views
- Implementing ViewHolder objects
- Signing certificates
- Adding a checkbox
Skill Level Intermediate
Building Android Apps with Cloud Serviceswith Albert Lo2h 37m Intermediate
1. Understanding the Side Navigation Drawer
2. Custom RecyclerView: Multiple View Types
3. Custom RecyclerView: ViewHolders
4. Understanding Custom Views
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.