Last active
April 22, 2019 12:46
-
-
Save Philio/9430818047f366295093f357129b0584 to your computer and use it in GitHub Desktop.
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
@Singleton | |
@Component(modules = {AppModule.class, AndroidSupportInjectionModule.class, ...}) | |
public interface AppComponent extends AndroidInjector<MyApplication> { | |
Picasso picasso(); | |
} |
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
@Singleton | |
@Component(modules = [AppModule::class, AndroidSupportInjectionModule::class, ...]) | |
interface AppComponent : AndroidInjector<MyApplication> { | |
fun picasso(): Picasso | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment