Releases: BlackBoxVision/mvp-helpers
Releases · BlackBoxVision/mvp-helpers
Release v0.2.0
Latest changes:
- CHANGE: BasePresenter has now two new callbacks, to be notified about view attachment/detachment.
- CHANGE: BaseActivity/BaseFragment has now two new callbacks to be notified about presenter creation/destruction, also, addPresenter callback has been replace with createPresenterFactory
- CHANGE: Added PresenterFactory interface to create custom factories to provide presenter instances
- CHANGE: Added PresenterLoader, an Android Loader, that provides the presenter instance and survives configuration changes.
- BUG FIX: Fixed issue with BaseInteractor runOnBackground method, this method was calling executor.isTerminated instead of calling executor.isShutdown, this produce a RuntimeException, because of troubles with ThreadPool reuse. Also, the methods have been refactored, to use a ExecutorService to get more control instead of an Executor.
Fifth Release
Changelog:
- Folder refactor under UI package
- Modified BasePresenter method registerView to attachView in order to get more consistence
- Added new runOnBackground version in BaseInteractor that uses a ScheduledExecutorService and also cancel method to stop execution
- Added Custom Views to extend BaseRelativeLayout, BaseFrameLayout and BaseLinearLayout
First Release of Kotlin variant
This is the first release of Kotlin variant that gets everything that the v0.1.0 from java has
Third Release
Changelog:
- Refactored mvphelpers to library
- Removed butter-knife annotation processor
Second Release
Minor updates
Initial release
The initial release contains a set of basic classes that we use to build Android Apps in a faster way through MVP Pattern.
The classes included in this release are the following ones:
- BaseFragment → A fragment that contains ButterKnife injection, and a set of abstract methods to help with presenter instantiation
- BasePresenter → Base class for all the presenters, extend it to get a basic functionality
- BaseInteractor → Base class for all the interactor, extend it to get helper methods to deal with UI Thread post and background data processing
- BaseView → Empty interface that acts as water mark for the Presenter class, you should extend this interface to create the view interface for your App
- Preconditions → Preconditions is a util class that helps you to deal with null checks, and another dutties