CardStackView
CardStackView copied to clipboard
Infinite loop
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.
I have checked in both 2.2.3, 2.3.4 and can confirm your code is working fine