with list of composable. Is there any state within compose that I can use to know if that view has been brought to Foreground (basically I want to know onResume() has been called)? Based on that I can scroll the list to the start.
z
Zach Klippenstein (he/him) [MOD]
02/05/2021, 7:53 PM
You could get the lifecycle from the AmbientLifecycle and observe that