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

Horizontal page scroll. #1

Closed UnnikrishnanSR-Accedo closed 9 years ago

UnnikrishnanSR-Accedo commented 9 years ago

Can you please suggest me the necessary changes for implementing horizontal page scroll?

blipinsk commented 9 years ago

Basically you would have to modify StackPageTransformer to work horizontally and not vertically. I will try to investigate it this evening if I could maybe implement this functionality into the library.

UnnikrishnanSR-Accedo commented 9 years ago

Thanks for the reply really appreciate...

blipinsk commented 9 years ago

The first version (still WIP) has been pushed to the repo. I think it does what you need... So if you dont need it to be anchored at left part of the screen, and you need it right now, feel free to use the code from /feature/stack_anchoring branch. I will try to implement it completely for release/1.2.0 (currently I'm a bit short on time).

UnnikrishnanSR-Accedo commented 9 years ago

Hi Bartosz...The latest code is working perfect. Thanks for your hardwork and help :)

blipinsk commented 9 years ago

Awesome! :+1: Glad I could help, feel free to star or start watching the project to show your support and to be up to date with any new upcoming features :)

blipinsk commented 9 years ago

The feature you were requesting has been implemented as a part of release 1.2.1. I decided to change the approach from anchoring the stack to LEFT, RIGHT, TOP or BOTTOM to setting an orientation of the stack (simply VERTICAL or HORIZONTAL).