Comments (4)
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.
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.
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.
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)
- Include it with scale Animation HOT 1
- How can I remove space from left and right of cards. It is leaving space on both ends
- Init with gravity does not react on Lolipop 5.0.1 HOT 1
- Crashed on android 6.0 HOT 2
- Infinite loop HOT 1
- Move items programatically HOT 2
- Stack Position changing HOT 1
- Restrict Scrolling HOT 12
- After Pagination, few cards go invisible, but yet swipeble.
- Few cards not visible.
- How to make views appear from the bottom? HOT 1
- StackAlways Aligned Center HOT 1
- How can i set selection at particular index. HOT 6
- How to set display top stack but swipe to right? HOT 1
- PageChangeListener not available? HOT 1
- StackView Position issue HOT 2
- Not working inside scroll view
- Any function to disable swipe? HOT 2
- How to set Image Instead of the colors HOT 1
- Implement infinite scroll. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flippablestackview.