Version 0.2.4
-
Fixed a memory leak, the
BaseTaskManagerclass was holding a reference to theBaseTaskManager.UIStateProviderinterface (which is part of theTaskManagerLifeCycleProxy) and was thus leaking theActivityorFragmentthe proxy was attached to. To fix this theBaseTaskManager.UIStateProviderinterface has been removed, instead theTaskManagerLifeCycleProxynow reports the UI state to theBaseTaskManagerusing the newsetUIReadymethod.TLDR: The
BaseTaskManagerno longer gets the ui-state, instead theTaskManagerLifeCycleProxysets the ui-state. -
Fixed a crash that occurred for
Fragmentsnested withinFragmentsthat where using theTaskManagerclass. This crash was caused because theFragment.getFragmentManagermethod returns the child-FragmentManagerfor nestedFragmentsinstead of theActivityFragmentManager. This has now been fixed by looping through theFragment.getParentFragmentmethod until we find theFragmentthat's directly attached to theActivity.