Created
July 9, 2022 21:04
-
-
Save raystatic/7e471a5ab116e9d724947d9d8e375d89 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 { | |
@Provides | |
@Singleton | |
fun providesContext(@ApplicationContext context: Context): Context = context | |
@Provides | |
@Singleton | |
fun providesDefaultDeeplinkHandler( | |
processors: Set<@JvmSuppressWildcards DeeplinkProcessor> | |
): DeeplinkHandler = DefaultDeeplinkHandler(processors) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment