Hi, is there an easy way to check if the `LazyColu...
# compose
g
Hi, is there an easy way to check if the
LazyColumn
is scrollable? Means if its content is longer than the container.
j
I think your would be able to work it out from https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyListLayoutInfo#visibleItemsInfo() - I would look at the visible item count compared to totalItemCount and then probably also check the final item offset + size against the end of the
viewportEndOffset
a
g
Thanks guys! This is helpful.