- [BREAKING CHANGE] Package name updated to match GitHub project
- Added threadMode optional argument to
post()
methods on both View and Model. - Upgraded dependencies versions
- [BREAKING CHANGE] Package name updated to match GitHub project
- Upgraded dependencies versions
- Added
post()
methods on both View and Model as a shorthand ofbus.post()
- Upgraded dependencies versions
- Removed deprecated code
- [BREAKING CHANGE] Presenter is now nullable on BaseFragment because some reported issues using BottomNavigationView
- Updated compile SDK to 31
- Updated AndroidX dependencies
- Added proguard consumer config file
- Added new
withResult
and deprecated the previous one
- Added a bunch of
onClick
functions on all base Views - Upgraded kotlin and libraries versions to their latest
- Improved
withResult
function to execute suspend functions from the model and cancelling them as requested
- Fixed postDelayed in base presenter to run delayed code in the main thread causing wrong handler exceptions
- Added missing onDestroy() call in BaseActivityPresenter
- Added missing presenter.onDestroy() call in BaseActivity
- Added postDelayed in base presenter to run delayed code in the main thread
- Migration to Sonatype servers (reset version numbers)
- Migration to Sonatype servers (reset version numbers)
- Added
runOnUiThread
function in BaseView class to reduce boilerplate - Exposed bus on base classes for further extensions
launchMain
to run suspend functions on the main threadrunAsync
to run suspend functions on any scope/dispatcher (Main and IO by default)withResult
to run suspend a functions on any scope/dispatcher (Main and IO by default) and listen for results
- Added permission checker/requester helpers (
withPermission
andwithPermissions
) in BasePresenter class
- Removed behaviour-based injection
- Fixed fragment tests cases
- Kotlin and gradle versions upgrade
- Upgrade event bus library to 3.2.0 ! Release notes
- Added replace fragment with tag
- Added
open
modifier to BaseFragmentPresenter#onViewStateRestored function
- Converted
withFragmentByTag
block to Fragment extension function
- Removed deprecated lifecycle functions on View and Model
- Removed deprecated extension functions for fragment transaction handling and find fragments by tag utils
- Added
open
modifier to BaseFragmentPresenter#onViewStateRestored function
- Added return value to
withFragmentManager
,withFragmentByTag
andwithFragmentTransaction
functions to be able to react when no fragmentManager is available - Deprecated lifecycle functions on View and Model in favor of presenter's ones
- onClick with varargs to set the same click listener event to multiple views
- MVP for views!
- Test app examples updated!
- Abstract functions to with with fragment manager, (supportFragmentManager for Activities and childFragmentManager for Fragments)
- Added helper
removeStickyEvent
in the BaseModel class - Improved README.MD file with more examples
- More examples in testapp
- Added postDefault and postStickyDefault methods to post in the default bus without asking for a reference to it
- Added startActivity function helper
- Extension functions for fragment transaction handling and find fragments by tag utils
- Removed annotations for performance purposes
- Improved withActivity method in BaseView
- Removed deprecated MvpConfig file and replaced it with annotations
- Android X migration
- Refactored and simplified package names
- Removed Commons module to improve build time
- Full Kotlin migration
- Nullability checks
- Stable version release
- Initial release