Skip to content

v1.3.2

Compare
Choose a tag to compare
@senneco senneco released this 29 Nov 14:26
· 213 commits to master since this release
  • Fixed MvpFragment/MvpAppCompatFragment lifecycle callbacks
  • MvpView will be detached from Presenter:
    • inside onSaveInstanceState, if it will be called. You be able to not commit fragments transaction allowing state loss! Just use commit or commitNow ! If you don't use Cicerone.
    • inside onStop otherwise
    • after MvpView will be restarted, it will apply only new commands!
    • after MvpView will be recreated, it will apply all commands.
  • Added OneExecutionStateStrategy
  • Small changes (like javadocs)

PS: Added MvpDelegate.onDestroyView() which should be called when view will be destroyed. Causes of this is that detached view can stay alive. Example of use this beyond of Fragment is there.