Created
November 27, 2017 01:09
-
-
Save larkintuckerllc/bcc0c38b4023d00f708791e5e2b3a8ba to your computer and use it in GitHub Desktop.
How-to Dagger 2 with Android: Part 1 - 7
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.Module; | |
import dagger.Provides; | |
@Module | |
class MyModule { | |
@Provides | |
@Singleton | |
static MyExample provideMyExample() { | |
return new MyExampleImpl(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment