Open jondoes opened 8 years ago
Implement removeFirstObjectInAdapter()
in your OnFlingListener
implementation, and remove the first object of the adapter like the method name implies. Then you know that the object in the topmost card, the one that is swiped away, is always the first object in the adapter: the object at index 0.
Okay, thanks for your help, Actually I want to post this query to another library 'kikoso/Swipeable-Cards', but by mistake post here.
You already implement the above requirement.
Now If I want to implement disordered cards implemented like in https://github.com/kikoso/Swipeable-Cards this library, How can I implement that disordering.
My need is that only 3 cards have been display in screen and the first viewed card always be straight and not inclined, the other cards behind the first card can be inclined.
Can you please help me out ?
Thanks.
I'm not familiar with the changes in that fork, you'll have to ask the author there.
Hello,
Thanks for developing such a great library. I am developing one application using this library. I create the cardModel and set some of the data to view on card i.e cardId and Title and I add to SimpleCardStackAdapter. I need to get the those data associate with card when I swipe card to left or right (when card removes from the list)
Also another requirement is that at all the times viewed card stay to be in center of device and not inclined.
How can I do this ? Can you please help me out ?
Thanks.