Android Studio MVP Template Versions Save

Android MVP template for Android Studio

2.3

4 years ago

AndroidX migration by @namhvcntt

If you're still using support libraries, please use version 2.2.2

2.2.2

6 years ago

Fix a crash when creating a new MVP Activity reported by @asrulsibaoel.

2.2.1

6 years ago

This release adds Dagger as a dependency and handle the activity name better in the manifest.

2.2

7 years ago
  • Rollback a change introduced in 2.1 into Fragment's loader management that could rarely cause a ClassCastException. You need to ensure you are using the last version of support library to avoid any leak.
  • Change the behaviour of the onStart method of the presenter: Now the boolean passed tells if the view has been created, rather than if it's the first time the onStart method is reached. This way, you know if you should update your view according to the presenter state more easily: If viewCreated is true, then your view has just been created and thus its state should be updated, otherwise the view has just re-started with its old state and there's no need to update it.
  • Update README to mention the install script on MacOS.

2.1

7 years ago

Fix a bug with Fragment's LoaderManager that can lead to memory leaks

2

7 years ago

This release adds Presenter survival accros Activity re-creation on orientation changes.

1.0

7 years ago

First release with support for MVP boilerplate, fragment and activity.

You can use this release code if you don't want to implement the full presenter persistency with Loader pattern (see README for more details).