You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: