Last active
November 7, 2017 19:06
-
-
Save rachitmishra/8850333080470580497ce79c23e4bbef to your computer and use it in GitHub Desktop.
dagger-component
This file contains hidden or 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
// Declaring our component | |
@Component(modules = arrayOf(ComputerModule::class)) | |
interface ComputerComponent { | |
// provision function | |
fun getComputer(): Computer | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment