Tgo1014
07/30/2021, 10:34 AMScrollableState
is scrollable aka all the content is already being shown?matvei
07/30/2021, 11:40 AMScrollableState
itself has nothing to do with layout, so this information is not really there and is not accessible.
Other states and use ScrollableState, eg. LazyListState
and ScrollState
contain this information in different shapes, e.g ScrollState::maxValue
or LazyListState:layoutInfo
Tgo1014
07/30/2021, 11:54 AMScrollState
, my bad. I’m using maxValue
to auto scroll but I want to hide the button if all content is already fitting the screen, I couldn’t figure how can I do this using ScrollState
matvei
08/02/2021, 11:57 AMmaxValue
would be 0, as there's no place for scrollingTgo1014
08/02/2021, 12:38 PM