<Fragment Back Navigation Blocked by ViewModel> so...
# stackoverflow
u
Fragment Back Navigation Blocked by ViewModel so I'm trying to implement mvvm architecture with navigation component, this code snipet works just fine.. the problem is that when I navigate from fragmentA to FragmentB there is no way to go back, its like the button is blocked (If I remove the ViewModel the navigation works fine so it has something to do with the ViewModel). anyone have an idea of whats happening? private fun initVewModel() { myViewModel = MyViewModel() myViewModel = ViewModelProviders .of(this,...