Reputation: 21
Is there any way to prevent infinite loop/repetition in Moondroid Coverflow (https://github.com/moondroid/CoverFlow).
Automatically connecting the last object to the first object once it gets to the end.
Used below property for prevent infinite loop :
setShouldRepeat(false);
seems to do nothing other than break the coverflow when there are less than four objects. It completely prevents scrolling.
Upvotes: 1
Views: 1036
Reputation: 1
I'm not sure but try to write this in your onResume :
youradapter.notifyDataSetChanged()
Upvotes: 0
Reputation: 91
This is what I have got from reported issues on this library : https://github.com/applm/CarouselWidget/issues
Endless feature is hardcoded in this component. Take a look here https://github.com/applm/CarouselWidget I started moving features there. but not finished yet.
Upvotes: 1