This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
Releases: benoitletondor/Android-Studio-MVP-template
Releases · benoitletondor/Android-Studio-MVP-template
2.3
AndroidX migration by @namhvcntt
If you're still using support libraries, please use version 2.2.2
2.2.2
Fix a crash when creating a new MVP Activity reported by @asrulsibaoel.
2.2.1
This release adds Dagger as a dependency and handle the activity name better in the manifest.
2.2
- 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: IfviewCreated
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
Fix a bug with Fragment's LoaderManager that can lead to memory leaks
2.0
This release adds Presenter survival accros Activity re-creation on orientation changes.
1.0
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).