06/20/2022, 10:41 AM
User Defined Base URL With Retrofit The application I work on must use a different Base URL for every user. Basically the user has his own server, and in the application he must specify the IP Address for his server in a Text Field so the application can start doing HTTP Requests to that server. When I create the Retrofit instance it requires a Base URL, but there is now way I can access it from the UI, since the user has to enter the base URL manually from a Text Field. As a workaround I just pass Google as the Base URL when I...