I'm trying to migrate <my pager implementation> to...
# compose
a
I'm trying to migrate my pager implementation to using 1.0.0-beta01. The newly introduced
FlingBehavior
makes the code much better. However, as
performFling()
will not be called if there is no fling velocity, I can't figure out a way to snap to a page in that case. Is there any other way to correctly implement this behavior (
Modifier.swipeable
doesn't seem to fit)? If there is no, I think it's reasonable to call
performFling()
even if there is no fling velocity.
@matvei
m
Good idea, it's most likely a bug, we need to call performFling regardless. Please file!
🤔 1
👍 1
a
Hey @matvei let's chat later, I'm interested in the outcome of this one
👍 1
a