CardStackView icon indicating copy to clipboard operation
CardStackView copied to clipboard

Infinite loop

Open KuroXII opened this issue 6 years ago • 1 comments

Hi, I have a code like this to move the first item to last item when swipe as following, to prevent data raising using paginate function.

@Override public void onCardSwiped(SwipeDirection direction) { adapter.remove(lastItem); items.add(lastItem); lastItem = items.get(0); adapter.notifyDataSetChanged(); }

It's working in 2.2.3. But after 2.2.4 UI didn't refresh and it remained as first item. Need help in this. Thanks.

KuroXII avatar Mar 17 '19 07:03 KuroXII

I have checked in both 2.2.3, 2.3.4 and can confirm your code is working fine

phanijsp avatar Jan 01 '21 15:01 phanijsp