How to observe scroll position of a `ScrollableCol...
# compose
z
How to observe scroll position of a
ScrollableColumn
?
n
z
I want to load data from network when user reach to the bottom of the list. what would be right approach to call the network method?
1
z
you could use
snapshotFlow
to create a flow of the current scroll position, and then use
LaunchedEffect
to collect the flow and trigger reload when appropriate