openmrs-android-sdk/src/main/java/com/openmrs/android_sdk/library/api/RestServiceBuilder.java
/**
     * Change base url.
     *
     * @param newServerUrl the new server url
     */
Change base url.
@param newServerUrl the new server url
Change base url . @param newServerUrl the new server url
public static void changeBaseUrl(String newServerUrl) {
        API_BASE_URL = newServerUrl + ApplicationConstants.API.REST_ENDPOINT;
        builder = new Retrofit.Builder()
                .baseUrl(API_BASE_URL)
                .addConverterFactory(buildGsonConverter());
    }
public static void changeBaseUrl ( String newServerUrl ) { API_BASE_URL = newServerUrl + ApplicationConstants . API . REST_ENDPOINT ; builder = new Retrofit . Builder ( ) . baseUrl ( API_BASE_URL ) . addConverterFactory ( buildGsonConverter ( ) ) ; }
Change base url.
Change base url .