I have a activity that hold bottomNavigation which is using compose-navigation (navController) to navigate to and from each tab. It works fine when I am navigating between tabs everything gets called and works.
The problem is when i launch another activity which is a ideally a host for another fragment, by bottomNav's fragment's onDestoryView() is not getting called.
Flow: Launch BottomNav Activity -> Hosts Home Fragment -> Home Fragment opens new activity which holds Edit Home Fragment (in which there is no bottomNav).
I've very less knowledge about this case, so far i've tested that by Home Fragmnet's onResume() is getting called, and my actual want is to launch onCreateView() of home fragment when user comes back from edit home fragment to home fragment and update the UI with whatever user changed in edit home.