Relative Content

Tag Archive for androidandroid-jetpack-composekotlin-coroutineskotlin-flownavcontroller

Navigate to next screen when the api call is finished

I want to go to another screen only when the api call is finished. I’m using the below code and it works fine in splash screen (i can see the api call happening in log cat) but when i navigate and try to collect the flow in that screen nothing is showing (like the bottomsheets based on result) what is the problem here ? is there a way to achieve this? i would appreciate any help and solution.