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

Does not work with DiffUtill #53

Open
Stashevskiy opened this issue Nov 12, 2020 · 4 comments
Open

Does not work with DiffUtill #53

Stashevskiy opened this issue Nov 12, 2020 · 4 comments

Comments

@Stashevskiy
Copy link

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?

@rwzhang
Copy link

rwzhang commented Nov 17, 2020

I also encountered the same problem, do you have a good solution

@anocean2
Copy link

I also encountered the same problem

@samvmisti
Copy link

the same.
this is because they replace your current adapter with their SkeletonAdapter when you call skeleton.show().
and they set your adapter again after you call skeleton.hide()

@lambui09
Copy link

same issue: you can fix: in hide of the skeleton: check currentAdapter.
quick fix: you can check if(page == 1){skeleton.hide()}. You should only call once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants