alexzaitsev / freepager Goto Github PK
View Code? Open in Web Editor NEWViewPagers library for Android
License: Apache License 2.0
ViewPagers library for Android
License: Apache License 2.0
06-09 13:47:21.658 1452-1452/com.moltak.expViews E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.moltak.expViews, PID: 1452 java.lang.NullPointerException:
Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference
at pro.alexzaitsev.freepager.library.view.core.VerticalPager.getScrollYForPage(VerticalPager.java:251)
at pro.alexzaitsev.freepager.library.view.core.VerticalPager.onMeasure(VerticalPager.java:318)
at android.view.View.measure(View.java:18788)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
I didn't add any view when activity's 'initialize time'. So there are no any views in VerticalPager.
Will be interest to implement a possibility to jump the pages.
Today, ViewPager work like this:
[1] -> [2] -> [3]
We need recreate this:
[1] -> [3] -> [2]
Stack the fragments will be a good ideia. What do you thinks?
[1] -> [n]
Hi Alex thanks for this very nice library
I use your library and I want to set current item programmatically.
for that I use this code:
horizontalViewpager.setCurentitem(horizontalViewpager.getCurentItem()+3);
but it's not working and my app going to not responding page in android.
is there any way to go to a page programmatically?
Hi for a requirement i am referring your code its really very good example can you please help me how can i use it with dynamic data. In my task i have list of user which i need to show in list view(vertically) and each users have multiple images which i want to show horizontally. Thanks
hi Alex thank you for this very nice library
I have a question.
how can i use fragment instead of a view?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.