Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateList with multiple viewtypes #12

Open
Andrer757 opened this issue Oct 25, 2017 · 2 comments
Open

UpdateList with multiple viewtypes #12

Andrer757 opened this issue Oct 25, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@Andrer757
Copy link
Member

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 Andrer757 added the bug label Oct 25, 2017
@Andrer757 Andrer757 added this to the 1.5 milestone Oct 25, 2017
@Andrer757
Copy link
Member Author

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

@Andrer757
Copy link
Member Author

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.

paribeiro10 added a commit that referenced this issue Apr 25, 2018
…UpdatesTo() procedure was not updating the view as expected).

[New #9] Addition of a base architecture for adding RecyclerView Item Animations.
[New] Addition of a base architecture for adding RecyclerView Item Decorations.
[Support] Update to the sample app's ViewHolder instances.
[Support] Update to the projects constant classes.
[Support] Update to project dependencies.
[Support] Minor code refactoring.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants