Updated on 2026-08-14
This commit is contained in:
parent
084d4282f7
commit
7a10191880
6 changed files with 297 additions and 2 deletions
|
|
@ -0,0 +1,18 @@
|
|||
package com.tangem.tap.di.routing
|
||||
|
||||
import com.tangem.tap.routing.RoutingComponent
|
||||
import com.tangem.tap.routing.impl.DefaultRoutingComponent
|
||||
import dagger.Binds
|
||||
import dagger.Module
|
||||
import dagger.hilt.InstallIn
|
||||
import dagger.hilt.android.components.ActivityComponent
|
||||
import dagger.hilt.android.scopes.ActivityScoped
|
||||
|
||||
@Module
|
||||
@InstallIn(ActivityComponent::class)
|
||||
internal interface RoutingComponentModule {
|
||||
|
||||
@Binds
|
||||
@ActivityScoped
|
||||
fun bindRoutingComponentFactory(factory: DefaultRoutingComponent.Factory): RoutingComponent.Factory
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue