I\'m trying to perform a login action using Retrofit 2.0 using Dagger 2
Here\'s how I set up Retrofit dependency
@Provides @Singleton Retrofit provid
For latest Retrofit library, you can simply use singleton instance and change it with retrofitInstance.newBuilder().baseUrl(newUrl). No need to create another instance.
retrofitInstance.newBuilder().baseUrl(newUrl)