RecyclerView complex

I want to get a specific combo box template RecyclerView

showing a dynamic contact list based on just one CardView

.

screenshot

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

?

+3


source to share


1 answer


I would try to use nested reuse and intercept (steal) events with the child in the scope it is in.



0


source







All Articles