Dagger-2-Android-Studio-Template
Android studio template to add Dagger 2 to your new project with just one click!
Steps:
- Close Android Studio
- Go to C:\Program Files\Android\Android Studio\plugins\android\lib\templates\other
- Paste Dagger 2 folder
- Start Android Studio,
- Right click on the module you want to add Dagger
- Select New -> Other -> Dagger 2
Few of the things to be changed after adding Dagger,
- Replace dependencies with Dagger dependency in app level build.gradle file
- Remove sample files