Created
September 22, 2020 05:36
-
-
Save ch8n/7a3182c02a69d72c36fec23ac98fada7 to your computer and use it in GitHub Desktop.
for medium article
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
@Module | |
@InstallIn(ApplicationComponent::class) | |
object NetworkResolver { | |
@Provides | |
@Singleton | |
fun provideApiManager(retrofit: Retrofit) = ApiManager(retrofit) | |
.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment