Created
August 10, 2021 16:11
-
-
Save vaibhavgoyal09/6eed1f91749ec157dfa12b781cec4cdb 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(SingletonComponent::class) | |
object AppModule { | |
@Singleton | |
@Provides | |
fun provideDataStoreRepository( | |
@ApplicationContext app: Context | |
): DataStoreRepository = DataStoreRepositoryImpl(app) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment