I am getting the below error : DefinitionOverrideE...
# koin
g
I am getting the below error : DefinitionOverrideException: Already existing definition or try to override an existing one: [typeFactory,primary type‘okhttp3.OkHttpClient’] I need multiple instances of OkHttpClient in my project cause i have different URL’s that i want to call and also have different interceptors that i need to add based on the API that is being called. I did a bit of reseach and it lead me to loadKoinModules(..) althoguh that is also crashing when the activity where it is initialized is called. I have attached some code below. Would like to get to know how to work in such scenarios