Skip to content

Releases: BlackBoxVision/mvp-helpers

Release v0.2.0

22 Dec 13:48
Compare
Choose a tag to compare

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

01 Dec 11:29
Compare
Choose a tag to compare

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

01 Dec 17:39
Compare
Choose a tag to compare

This is the first release of Kotlin variant that gets everything that the v0.1.0 from java has

Third Release

25 Nov 01:40
Compare
Choose a tag to compare

Changelog:

  • Refactored mvphelpers to library
  • Removed butter-knife annotation processor

Second Release

24 Nov 23:20
Compare
Choose a tag to compare

Minor updates

Initial release

24 Nov 21:27
Compare
Choose a tag to compare

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