Skip to content

jshvarts/DaggerAndroidScopesSampleApp

Repository files navigation

DaggerAndroidScopesSampleApp

Build Status

Dagger 2.11 setup with dagger-android module demonstrating using custom scopes with ButterKnife.

This project is based on the excellent sample project https://github.com/vestrel00/android-dagger-butterknife-mvp

Branches

  1. master

Uses regular Activity and Fragment classes with a minSdkVersion of 17.

  1. replace-Subcomponents-with-ContributesAndroidInjector

Based on master. Replaces @Subcomponents with @ContributesAndroidInjector, new in Dagger 2.11.

  1. use-support-library

Based on replace-Subcomponents-with-ContributesAndroidInjector. Uses Android Support library to extend support from API 17 to 14.

  1. mvp

Based on replace-Subcomponents-with-ContributesAndroidInjector. Implements MVP pattern.