Mosby v3.0.0 Release Notes
Release Date: 2017-03-11 // about 7 years ago-
๐ New (Public API):
- Model-View-Intent (MVI) Module:
com.hannesdorfmann.mosby3:mvi:3.0.0
๐ New (Internal usage only):
- ๐ mvi-common Module (internal usage only). Common interfaces for MVI (shared with conductor Mosby plugin)
- PresenterManager Module (internal usage only): Is used internally by MVP and MVI to keep presenters during screen orientation changes, back stack navigation etc.
- utils-fragment Module (internal usage only): Is used internally to determine if a Fragment is on back stack or not.
๐ Changes:
- Package name has been changed from
com.hannesdorfmann.mosby
tocom.hannesdorfmann.mosby3
(note the 3 at the end). Just update your import statements to migrate to Mosby 3.0: In Android Studio doEdit -> Find -> Replace in Path ...
and set findimport com.hannesdorfmann.mosby
replace withimport com.hannesdorfmann.mosby3
. - ๐ Moved
MvpBasePresenter
frommvp-common
module intomvp
module - ๐
MvpNullObjectBasePresenter
has been moved into own module:com.hannesdorfmann.mosby3:mvp-nullobject-presenter:3.0.0
MvpNullObjectBasePresenter
: getView() is has now protected visibility and uses WeakReference internally- ๐ Moved LCE (Loading-Content-Error) related classes into own module:
com.hannesdorfmann.mosby3: mvp-lce:3.0.0
MvpActivity
,MvpFragment
, etc. no longer have methods likeisRetainInstance()
,setRetainInstance()
andshouldInstanceBeRetained()
. This functionality is now part of the corresponding delegate such asActivityMvpDelegate
,FragmentMvpDelegate
etc.- ๐ Some Mosby internal fixes / improvements.
๐ Deprecations:
- ๐ Deprecated
ArrayListLceViewState
andCastedArrayListLceViewState
. UseParcelableListLceViewState
instead.
โ Removed:
- โ Removed
MvpViewStateViewGroupDelegateCallback
- โ Removed mvp testing module
- โ Removed deprecated
RetainingFragmentLceViewState
(deprecated in Mosby 2.0). UseRetainingLceViewState
.
Thanks to all contributors!
- Model-View-Intent (MVI) Module: