stopScroll
Function
Common
suspend fun ScrollableState.stopScroll(scrollPriority: MutatePriority = MutatePriority.Default)
Stop and suspend until any ongoing animation, smooth scrolling, fling, or any other scroll
occurring via ScrollableState.scroll
is terminated.
Parameters
scrollPriority | scrolls that run with this priority or lower will be stopped |
Common
suspend fun Scrollable2DState.stopScroll(scrollPriority: MutatePriority = MutatePriority.Default)
Stop and suspend until any ongoing animation, smooth scrolling, fling, or any other scroll
occurring via ScrollableState.scroll
is terminated.
Parameters
scrollPriority | scrolls that run with this priority or lower will be stopped |