Created
July 28, 2020 16:48
-
-
Save tizisdeepan/3616857c50a878a168eff0b338461702 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
@Module | |
@InstallIn(ApplicationComponent::class) // Installs FooModule in the generate ApplicationComponent. | |
object AppModule { | |
@Provides | |
fun provideApiService(): ApiService {...} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment