Updated on 2026-08-14
This commit is contained in:
parent
ff22469cde
commit
68917838a4
7 changed files with 84 additions and 25 deletions
18
app/src/main/java/com/tangem/di/AppComponent.java
Normal file
18
app/src/main/java/com/tangem/di/AppComponent.java
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package com.tangem.di;
|
||||
|
||||
import javax.inject.Named;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
import dagger.Component;
|
||||
import retrofit2.Retrofit;
|
||||
|
||||
@Singleton
|
||||
@Component(modules = {NetworkModule.class})
|
||||
public interface AppComponent {
|
||||
|
||||
@Named(NetworkModule.PROVIDE_RETROFIT_INFURA)
|
||||
Retrofit getRetrofitInfura();
|
||||
|
||||
@Named(NetworkModule.PROVIDE_RETROFIT_ESTIMATEFEE)
|
||||
Retrofit getRetrofitEstimatefee();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue