Giter Club home page Giter Club logo

Comments (4)

joeljos avatar joeljos commented on May 18, 2024

Thank you for the wonderful library. I find it very useful in the UI pages.

I would like to know this too. I have made orientation as horizontal, but the default is swipe from left-to-right.

a) I wanted to modify so that the swipe can be from right-to-left.
b) Also the layout which is stacked facing the left-to-right, i need it to be from right-to-left.

Could you kindly let me know how these two can be done?. I tried following the code, but i think its hardwired into the OrientedViewPager?. Any help on this would be much appreciated!.

Thanks,
Joel.

from flippablestackview.

blipinsk avatar blipinsk commented on May 18, 2024

Hi Joel! First of all thanks for the kind words, they are much appreciated.

I originally wanted to include anchoring to both sides of the stack view (top and bottom for the vertical stack, and left and right for the horizontal one) in the update that was introducing orientation.
Unfortunatelly I reliased that the thing was not trivial enough for me to include it in the somehow "quick-and-easy-in-between-coffees-update" that I was doing.
It still holds one of the top spots on my to-do list, but currently I'm terribly, terribly short on time.
For now I can at least share what I come up with, when I was thinking about it (although bare in mind that I might be wrong on my conclusions 😛, so dont stick to them at all costs).

First of all, I think you can accomplish that without touching OrientedViewPager (I wanna avoid messing with it since it's just an original android's ViewPager with changing orientation capabilities, nothing more). I think you need to first turn on the reverseDrawingOrder in the setPageTransformer method. And modify StackPageTransformer in a way that can show Stack being anchored on the other side of the View.

Let me know if you manage to accomplish that.

from flippablestackview.

joeljos avatar joeljos commented on May 18, 2024

Thank you for the comment. Let me try out and see how it goes. As i am
completely new to android, i will need all the luck i can muster to see
this through ;).

Thanks,
Joel.

On Thu, Jul 16, 2015 at 10:57 PM, Bartosz Lipinski <[email protected]

wrote:

Hi Joel! First of all thanks for the kind words, they are much appreciated.

I originally wanted to include anchoring to both sides of the stack view
(top and bottom for the vertical stack, and left and right for the
horizontal one) in the update that was introducing orientation.
Unfortunatelly I reliased that the thing was not trivial enough for me to
include it in the somehow "quick-and-easy-in-between-coffies-update" that I
was doing.
It still holds one of the top spots on my to-do list, but currently I'm
terribly, terribly short on time.
For now I can at least share what I come up with, when I was thinking
about it (although bare in mind that I might be wrong on my conclusions [image:
😛], so dont stick to them at all costs).

First of all, I think you can accomplish that without touching
OrientedViewPager (I wanna avoid messing with it since it's just an
original android's ViewPager with changing orientation capabilities,
nothing more). I think you need to first turn on the reverseDrawingOrder
in the setPageTransformer
http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setPageTransformer(boolean,%20android.support.v4.view.ViewPager.PageTransformer)
method. And modify StackPageTransformer in a way that can show Stack
being anchored on the other side of the View.

Let me know if you manage to accomplish that.


Reply to this email directly or view it on GitHub
#3 (comment)
.

"it's not the years in your life that count. It's the life in your years."
Abraham Lincoln

from flippablestackview.

Giosk avatar Giosk commented on May 18, 2024

Hi Blipinsk,
your library is very good and I would like to insert it in my project, really a great job!
I would use it for reading docs and books and I was trying to figure out if it would be possible to change the flipping orientation from right to left and not only from left to right when I found this issue.
Do you have some news about it? ;-)

Thanks,
Giosk.

from flippablestackview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.