I want to create collapsible effect like Jetsnack ...
# compose
m
I want to create collapsible effect like Jetsnack details view (https://github.com/android/compose-samples/tree/main/Jetsnack#custom-layout) with
LazyColumn
. For
ScrollState
we can use the
scroll.value
to get the scroll position/offset. But with
LazyListState
, we only have
initialFirstVisibleItemScrollOffset
, which give offset for per item. So how can I create the same kind of collapsible effect with
LazyColumn
?