The adapter for a RecyclerView is different than a list view. Look at how to create a RecyclerView adapter.
- [Instructor] The next step…in implementing our recycler view is…to modify our existing adapter that had been being used…by the List View.…The Recycler View adapter is inherit…from a different base class and will also work…with the view holder we created.…I'm going to go in and take a look at our adapters.…And here's our existing activity adapter.…I'm going to get rid of all the implementation code…inside this class.…We're going to put in a new implementation…that's specific to our new adapter.…Now we'll change what the adapter derives from.…
Where before it derived from Base Adapter…for a List View, we're going to change it…to Recycler View.Adapter.…And we're going to have to fix that to add…in the using statement.…I'm going to right-click on the Activity Adaptor class…and fix that as well, to implement the Abstract class,…and that'll add in some methods for us.…I want to keep a reference to the Activity List…that this adapter works with,…so I'll add an attribute for it.…
And this is going to be a list of activity item,…
- Breaking down a material design layout
- Adding AppCompat
- Adding icons and floating action buttons
- Animating the appearance
- Creating a RecyclerView
- Creating a ViewHolder
- Modifying the adapter
- Adding CardView
- Adding transition animations
- Adding a Snackbar
- Working with CoordinatorLayout
Skill Level Intermediate
F# and Xamarin Development Basicswith Rachel Blasucci56m 43s Intermediate
1. What Is Android Material Design?
2. Implementing Material Design
3. Floating Action Button
View state change animations4m 17s
Next steps1m 40s
- 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.