We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I found that library does not work with DiffUtill. When a new list is added, it will scroll to the first position. Сould you fix this?
The text was updated successfully, but these errors were encountered:
I don't think this has anything to do with DiffUtil. Try this before you set the adapter to the recyclerview:
In Kotlin:
adapter.stateRestorationPolicy = RecyclerView.Adapter.StateRestorationPolicy.PREVENT_WHEN_EMPTY
In java:
adapter.setStateRestorationPolicy(RecyclerView.Adapter.StateRestorationPolicy.PREVENT_WHEN_EMPTY);
If you get a compilation error, try updating the recyclerview-dependency to current version:
implementation "androidx.recyclerview:recyclerview:1.2.0-beta01"
Sorry, something went wrong.
No branches or pull requests
Hello, I found that library does not work with DiffUtill. When a new list is added, it will scroll to the first position. Сould you fix this?
The text was updated successfully, but these errors were encountered: