A native library providing a Tinder-like cards effect. A card can be constructed using an image and displayed with animation effects, dismiss-to-like and dismiss-to-unlike, and use different sorting mechanisms.
Apache License 2.0
1.48k
stars
364
forks
source link
Get the card index and data associate with each card when swiped left or right #96
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.
In the SimpleCardStackAdapter you implemented the method getCardView(), but what is the use of position in that method is this adapter view the card as per position added to list ?
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.