Comments (8)
Hi!
Yes, I'm sorry I didn't make it clear. There is a parameter called friction. By default ScrollableLayout uses default system friction from ViewConfiguration. You may experiment with it in the sample application (where is a seekbar in configuration tab). And finally set it with scrollableLayout.setFriction(float)
from scrollable.
@noties I have tried this before but I cant find the min friction value, if I setFriction to 0.0f , scrolling is even slower. Which is the best vale to use for no friction scroll?
from scrollable.
Well, 1.F will give you look & feel of no friction
scroll, but try something between 0.045F and 0.07F, to my own taste it looks ok.
from scrollable.
@noties I found that the problem is not the friction, my problem is that I have to scroll once just for getting ride of the header. I would like it to work like a real list header, to have a continuous scroll all the way from the header to the bottom.
from scrollable.
Can you share your code with me (xml & java)? Maybe pm or something...
from scrollable.
I have a sam problem just when using grid layout with 3 columns.
from scrollable.
Actually I have this problem just with he first fragments in view pager. Please help me ?
from scrollable.
Hi!
I found out that some device has own very specific Scroller implementation, so I bundled Scrollable with Scroller from AOSP (api 22) in 1.1.2. Please give me a feedback if that helped.
from scrollable.
Related Issues (20)
- View Pager not taking the complete height even on using "match parent" HOT 1
- Not able to get all library views HOT 1
- HeaderView Issue HOT 5
- when Scrolling the page,the headerview can scroll also HOT 1
- What should I do if there are ups and drop refresh ui in viewpager? HOT 1
- dependencies problem HOT 1
- nested two page bug HOT 1
- How to use FragmentStatePager Adapter HOT 1
- ScrollHeader is not smoothly HOT 2
- dude HOT 2
- Change viewpager item size dynamically with listview scroll HOT 5
- Header reappears on top when returning to fragment that has been scrolled down. HOT 8
- Long press slide up RecycleView item before headview scoll up HOT 2
- Scrollable tab scrolls under title bar HOT 1
- add RecyclerView on the head, slide very slowly, there is inertia slow sliding HOT 1
- bottom part of the fragment in the viewpager is clipped or cut of how to fix this HOT 6
- when topView height is changed , tabLayout below will be covered HOT 5
- not use SwipeBackLayoutTouTiao HOT 4
- Cannot collapsed header view programmatically HOT 2
- scrollable scrollview in fragment not scrolled
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 scrollable.