How can we show the loader while network request is processing or show any dialog if there is any network error , unauthorized request or any crash internal server error or network request not processed.? Can we pass the dialogHelper class in repository or it will be a bad practice?
Hi there,
I see that you startKoin from mainActivity. I expect it would be better to start it from Application and not Activity. Now you have to recreate all dependencies every time you destroy your activity.