RecyclerView complex
I want to get a specific combo box template RecyclerView
showing a dynamic contact list based on just one CardView
.
A contact list can contain multiple items. For example, more than 100. Each contact must be one element and of course the entire area must be scrollable.
The solution might be to create a non-scroll ListView
, but the scrolling will not be smooth because there are many items in the list.
Another solution would be to create a custom item CardView
for the top, middle and bottom, or even overlap all items CardView
with a negative margin.
I'm wondering if there are any better solutions to work with RecyclerView
?
source to share