is there a way to handle life cycle as we are not using fragment and only one activity is there is project, i need inform view model1. when compose screen created
2. when app go in background
3. when moving from one screen to another and when we are coming back to same screen
4. basically all lifecycle event
I am wondering how the lifecycle handling concepts explained in the article will map to Compose Desktop where you are facing the same problem but don’t have all these Android specific APIs available. Or am I missing something here?