mending3
navigation 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
A modern programming language that makes developers happier.