Answers for "Uri.builder in android studio"

0

Uri.builder in android studio

private Uri buildURI(String url, Map<String, String> params) {

    // build url with parameters.
    Uri.Builder builder = Uri.parse(url).buildUpon();
    for (Map.Entry<String, String> entry : params.entrySet()) {
        builder.appendQueryParameter(entry.getKey(), entry.getValue());
    }

    return builder.build();
}
Posted by: Guest on September-21-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language