I added Leak Canary to the project and after rotate the screen a couple of times the TasksFragment gets leaked. I think it is because the intents are observed in the ViewModel, therefore, when the TasksFragments reaches the onDestroyView it can't actually get destroyed.
I added Leak Canary to the project and after rotate the screen a couple of times the TasksFragment gets leaked. I think it is because the intents are observed in the ViewModel, therefore, when the TasksFragments reaches the onDestroyView it can't actually get destroyed.