Created
November 27, 2017 01:10
-
-
Save larkintuckerllc/70e74a90d22b60064c89cece14c38a48 to your computer and use it in GitHub Desktop.
How-to Dagger 2 with Android: Part 1 - 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.larkintuckerllc.dagger; | |
import javax.inject.Singleton; | |
import dagger.Component; | |
@Singleton | |
@Component(modules = MyModule.class) | |
interface MyComponent { | |
void inject(MainActivity mainActivity); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment