blipinsk / FlippableStackView

An Android library introducing a stack of Views with the first item being flippable.
Apache License 2.0
809 stars 150 forks source link

Card aligned on left #6

Closed thepelican closed 8 years ago

thepelican commented 9 years ago

Hi All,

I m having an issue when i relaod the stack: basically when Im reloading the stack, and it doesnt respect my layout. I get that only card aligned on the left. Then if put more elements on the stack and i relaod it everything seems to be fine and all my cards are aligned as expected.

I really cant fix this misalignment, can anyone help me with this?

blipinsk commented 9 years ago

Can you provide some details of your issue? Like what sort of layout it (stack) doesn't respect. Maybe some screens?

sohanshetty commented 9 years ago

Hi

6 issue can be solved by setting the flippablestackView to setCurrentItem(yourNewPosition, true). This make the fragment to scroll smoothly and it wont aligned the layout to left when it reloads.

ThankYou Sohan