Diolor / Swipecards

A Tinder-like Android library to create the swipe cards effect. You can swipe left or right to like or dislike the content.
Apache License 2.0
2.34k stars 583 forks source link

Get the item AFTER the current item? #128

Closed broakenmedia closed 8 years ago

broakenmedia commented 8 years ago

I need to populate a textview separate to the cardview with the NEXT objects values when swiping away the current one. IndexOf was my best guess but it's proving hacky

vanshg commented 8 years ago

Try getting the next item in the adapter

vanshg commented 8 years ago

flingContainer.getAdapter().getItem(1);