Last active
July 7, 2021 13:34
-
-
Save catalinghita8/63bf2f692f5919ea72df779bce28fbde to your computer and use it in GitHub Desktop.
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
val scrollOffset: Float = min( | |
1f, | |
1 - (scrollState.firstVisibleItemScrollOffset / 600f + | |
scrollState.firstVisibleItemIndex) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment