-
-
Save arcadefire/6bf3aee97eb98294e6062ed4781d2b26 to your computer and use it in GitHub Desktop.
Postscroll
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun onPostScroll( | |
consumed: Offset, | |
available: Offset, | |
source: NestedScrollSource | |
): Offset { | |
val delta = available.y | |
return swipeableState.performDrag(delta).toOffset() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment