aaronbond / Swipe-Deck

A Tinder style Swipeable deck view for Android
MIT License
797 stars 158 forks source link

Last two items are not swiping in demo project #45

Closed kimeeo closed 8 years ago

kimeeo commented 8 years ago

Last two items are not swiping in demo project.

njt28 commented 8 years ago

I also got this problem! @kimeeo : any solutions so far?

dev01-adroitinfosol commented 8 years ago

I too got the same problem. I am not able to swipe last two items.

dev01-adroitinfosol commented 8 years ago

i want video to be played inside each card, i am able to achieve this using TextureView to play the Video. and Fortunately it works well, But results in slower performance. There might be a reason of the views not getting recycled.

CodeBoyChd commented 8 years ago

You have to customize the implementation in setupTopCard

rodgerbenham commented 8 years ago

@CodeBoyChd could you please elaborate

aaronbond commented 8 years ago

please try moving over to SwipeDeck2: https://github.com/aaronbond/SwipeDeck2

it's a little better designed than this version.

jituiitm commented 8 years ago

final View child = getChildAt(getChildCount() - childOffset);

replace with

final View child = getChildAt(0);