Simdea / gmlrva

Generic RecyclerView Adapter that supports multiple layout implementations.
MIT License
11 stars 1 forks source link

UpdateList with multiple viewtypes #12

Open Andrer757 opened 6 years ago

Andrer757 commented 6 years ago

When we start the recycler view with an empty list and after we call the updateList to populate the recycler view, if the list has multiple viewtypes in some phones nothing happens and recycler view shows empty. If there's only one view type it works.

Andrer757 commented 6 years ago

An update to this issue, if we use add instead of UpdateList it works

Andrer757 commented 6 years ago

To test this initiate the adapter with empty list of elements, and then create a runnable to be executed after some time and call updateList with the list of elements with differents view types.