Is there a way to detect if a composable is being ...
# compose-android
t
Is there a way to detect if a composable is being fully displayed on screen?
1
I’ve managed to find a way by storing the
Offset
the first time is call
onGloballyPositioned
and then compare the current windows offset with the stored one. Not sure this is the best way.
In my case I actually needed to know if the top of the composable was being displayed, not exactly “fully displayed”