/Dagger-2-Android-Studio-Template

Android studio template to add Dagger 2 to your new project with just one click!

Primary LanguageFreeMarker

Dagger-2-Android-Studio-Template

Android studio template to add Dagger 2 to your new project with just one click!

Steps:

  1. Close Android Studio
  2. Go to C:\Program Files\Android\Android Studio\plugins\android\lib\templates\other
  3. Paste Dagger 2 folder
  4. Start Android Studio,
    1. Right click on the module you want to add Dagger
    2. Select New -> Other -> Dagger 2

Few of the things to be changed after adding Dagger,

  1. Replace dependencies with Dagger dependency in app level build.gradle file
  2. Remove sample files

alt text