src/main/java/de/blau/android/util/Util.java
/**
     * Append further query arguments to an url
     * 
     * @param url the original url
     * @param query the query
     * @return the extended url
     */
Append further query arguments to an url

@param url the original url
@param query the query
@return the extended url
Append further query arguments to an url @param url the original url @param query the query @return the extended url
@NonNull
    public static String appendQuery(@NonNull String url, @NonNull String query) {
        url += (url.contains("?") ? (url.endsWith("?") ? "" : "&") : "?") + query;
        return url;
    }
@ NonNull public static String appendQuery ( @ NonNull String url , @ NonNull String query ) { url += ( url . contains ( "?" ) ? ( url . endsWith ( "?" ) ? "" : "&" ) : "?" ) + query ; return url ; }
Append further query arguments to an url
Append further query arguments to an url