Sorry if my question is not Kotlin :smile: I am fa...
# android
b
Sorry if my question is not Kotlin 😄 I am facing with navigation component issue. I am trying to navigate to a screen inside a navFragmentContainer. It work fine but after I navigateUp (or popBackStack) I got a bank screen. Any idea for my issue, thanks!!
😄 1
👀 1
😶 2
I have used layout inspector to check, the startDestination still being hold but it is not visible. The click listener of it still work
image.png
u
If you share some of your code inside onview created and oncreateview so anyone can help
✅ 1
b
@Umar Ata Thank buddy I have found the issue. The reason is: I start to navigate the fragment when lifecycle reach onViewCreated. The solution: I use binding.post{ //Navigate } to queuing the navigation job.