Is there away to disable fling behavior on accompa...
# compose
t
Is there away to disable fling behavior on accompanist pager?
c
I believe this was removed from accompanist when it was refactored to use Lazy*. and then compose core Lazy* added the ability to turn off user scroll events. I'll try to look up docs when im back at my desk, but basically if you can find how to diable user input for Lazy* then that should work on pagers.
t
Doesn’t disabling the user input also disable user scrolling too? I only want to disable the fling behavior because my pager has some quite heavy exoplayer initialization when switching page so if the user swipe hard enough the pager will change page rapidly causing frame drop. Maybe fiddling around with initial velocity and friction will help me in this case
154 Views