Chapter 10. Making Overviews Even Better
When you built the overview/dashboard screen in Chapter 7, Creating Overview Screens, you used a RecyclerView
and used Room and data binding to retrieve the list of records from the database and display them to the user, and it worked fantastically well. However, it can be done even better. RecyclerView
is an incredibly powerful engine for data display, and we've only really scratched the surface of what it's capable of. In this chapter, we'll take a deeper look at some of the ecosystem surrounding the RecyclerView
and integrate some big improvements into the claim example. Specifically, we'll explore the following:
- Different ways to lay out a
RecyclerView
with more than one view type - Ways to improve the
RecyclerView
performance - Animating changes to
RecyclerView
- Keeping the complexity off the main thread