Skip to content

Releases: bluelinelabs/Conductor

1.1.6

12 May 15:37
Compare
Choose a tag to compare

Fixed maven central artifacts

1.1.5

11 May 22:22
Compare
Choose a tag to compare

Fixes some issues around views re-attaching after rotation.

1.1.4

16 Apr 19:25
Compare
Choose a tag to compare
  • Router, Activity, target controller, etc is all available in onRestoreInstanceState() now
  • Added lifecycle listener methods for onSaveViewState() and onRestoreViewState()

Added external onActivityResult method to Controllers

12 Apr 19:36
Compare
Choose a tag to compare

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

05 Apr 18:37
Compare
Choose a tag to compare

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]

04 Apr 22:18
Compare
Choose a tag to compare

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() and onRestoreViewState() are now called symmetrically and live outside of onAttach() and onDetach(), as per #6
  • inflateView() and onBindView() have been merged into onCreateView(), as per #8
  • onUnbindView() has been renamed to onDestroyView() to match the new onCreateView() 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.