mending3
10/25/2019, 7:17 AMnavigation destination com.example.app.myapp/action_homeFragment_to_mainFragment is unknown to this NavController
mainFragmentViewModel.navigateToHome.observe(this, Observer {
if (it) {
this.findNavController().navigate(R.id.action_mainFragment_to_homeFragment)
} else {
this.findNavController().navigate(R.id.action_homeFragment_to_mainFragment)
}
})
Shaheer Muzammil
10/25/2019, 8:07 AMmending3
10/25/2019, 8:45 AM