You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I have a problem with moxy-presenter (PresenterType == PresenterType.LOCAL). It is not destroyed after fragment-onDestroy. I use FragmentManager.saveFragmentInstanceState method in my application logic and it affects presenter lifecycle. Steps to reproduce:
call FragmentManager.saveFragmentInstanceState to save fragment A state (MvpAppCompatFragment changes mIsStateSaved flag)
replace fragment A with fragment B
fragment A is destroyed but presenter still alive due to mIsStateSaved
In this case presenter should be destroyed since there are no views attached to it. Could you please advice how to solve this issue?
The text was updated successfully, but these errors were encountered:
Hi. I have a problem with moxy-presenter (PresenterType == PresenterType.LOCAL). It is not destroyed after fragment-onDestroy. I use FragmentManager.saveFragmentInstanceState method in my application logic and it affects presenter lifecycle. Steps to reproduce:
In this case presenter should be destroyed since there are no views attached to it. Could you please advice how to solve this issue?
The text was updated successfully, but these errors were encountered: