scrollEvents
Create a Flow of scroll events on the AbsListView instance.
Note: Created flow keeps a strong reference to the AbsListView instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
absListView.scrollEvents()
.onEach { event ->
// handle scroll event
}
.launchIn(uiScope)
Content copied to clipboard