dimsuz
07/05/2021, 5:32 PMLazyColumn and I need to do certain actions based if user has scrolled up or down for a certain threshold. What are my best options here?
• Use snapshotFlow to watch LazyColumnState changes, collect delta, act accordingly?
• I've also found pointerInput + detectDragGesture, will it work with LazyColumn, should I use it?
• Something else?cb
07/05/2021, 8:08 PMLaunchedEffect(), possibly with derivedStateOf() to map to the desired state. If the actions are completely disconnected from the UI (i.e. analytics), snapshotFlow() is more applicable.dimsuz
07/05/2021, 10:13 PMoffset modifier on it), so I guess this will trigger composition. I'll read up on derivedStateOf() then 👍dimsuz
07/05/2021, 10:21 PM