Configuration - mandriana/android-mvp-core GitHub Wiki
To use the library you should at least include this line to your gradle config :
compile 'com.github.mandriana:mvp-core:2.0.0'
The library comes with base views, where presenters are already bound to activity and fragment lifecycle. There are two versions :
- base version with minimal base views
- dagger version which uses dagger to retain presenter cache
Use one of the lines below depending on what you want :
// To use base views library
compile 'com.github.mandriana:mvp-base-views:2.0.0'
// To use base views with dagger module library
compile 'com.github.mandriana:mvp-base-views-dagger:2.0.0'