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

Item Values get shuffled #176

Open
juniens opened this issue Jul 17, 2019 · 0 comments
Open

Item Values get shuffled #176

juniens opened this issue Jul 17, 2019 · 0 comments
Labels
can't reproduce Include please a sample project where I can reproduce the issue.

Comments

@juniens
Copy link

juniens commented Jul 17, 2019

I have a problem, I have a fragment in which I am adding the fragment containing the discrete scroll view. I am using a ViewPager and sliding my fragments using a tablayout. The problem is that the discrete view is shuffling the items data in each positioned item!

To overcome this problem I used: mDiscreteView.recycledViewPool.setMaxRecycledViews(0, 0)

But it creates a new problem solving my old one, now the items won't shuffled but this is performance issue. I know that I should use the setHasFixedSize to true and with adapter setHasStableIds to true; but still the recyclerview shuffled my items. Don't know why?

@yarolegovich yarolegovich added the can't reproduce Include please a sample project where I can reproduce the issue. label Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce Include please a sample project where I can reproduce the issue.
Projects
None yet
Development

No branches or pull requests

2 participants