<I'm getting an issue to create two retrofit insta...
# stackoverflow
u
I'm getting an issue to create two retrofit instance using Hilt Dagger I'm setting up two different URL using @Named Annotation but I'm getting an errror in AppPostServices interface. @Module @InstallIn(SingletonComponent::class) object AppModule { //Retrofit Instance 1 @Singleton @Provides @Named("RetrofitInstanceDummy") fun getRetrofitDummyInstance(): Retrofit = Retrofit.Builder().baseUrl(BaseUrls). addConverterFactory(GsonConverterFactory.create()).build() //Retrofit Instance 2 @Singleton @Provides @Named("RetrofitInstance")...