Dylan
03/15/2021, 8:09 PMfirstVisibleItemScrollOffset from LazyListState, I can compare it to the current value so if lastOffset is lower than firstVisibleItemScrollOffset, that means the user is scrolling down, however if lastOffset is higher than firstVisibleItemScrollOffset, that means the user is scrolling up. At least that's the result I was hoping for but unfortunately firstVisibleItemScrollOffset is often equal to lastOffset.
So what is the best way to know the scroll direction of a LazyColumn? 🤔
(What I would like to achieve is similar to what we used to do with the XML Toolbar View using app:layout_scrollFlags)Jorkoh
03/15/2021, 10:05 PMAndrey Kulikov
03/15/2021, 11:38 PMcb
03/16/2021, 7:43 AMDylan
03/16/2021, 8:34 PM