Releases: bluelinelabs/Conductor
Releases · bluelinelabs/Conductor
1.1.6
1.1.5
1.1.4
Added external onActivityResult method to Controllers
Host activities can now call the router's onActivityResult
method to propagate the call to controllers that have registered for it with registerForActivityResult
.
Added options menu support to Controllers
Controllers can now opt to receive onCreateOptionsMenu(Menu, MenuInflater)
, onPrepareOptionsMenu(Menu)
, and onOptionsItemSelected(MenuItem)
callbacks by registering with the setHasOptionsMenu(boolean)
method.
Lifecycle Update [Breaking Changes]
I know, I know, breaking changes do not belong in a minor release. This project was not ready for a v2 yet though, so we opted to break that rule. Sorry everyone!
Breaking Lifecycle Updates
onSaveViewState()
andonRestoreViewState()
are now called symmetrically and live outside ofonAttach()
andonDetach()
, as per #6inflateView()
andonBindView()
have been merged intoonCreateView()
, as per #8onUnbindView()
has been renamed toonDestroyView()
to match the newonCreateView()
method
Other Changes
setTargetController()
is no longer final. It can now be overridden in order to allow controllers to block others from setting their target, in an effort to address #5 without creating too many confusing constructor options.