uri builder in android studio

Solutions on MaxInterview for uri builder in android studio by the best coders in the world

showing results for - "uri builder in android studio"
Jacopo
02 Feb 2016
1private Uri buildURI(String url, Map<String, String> params) {
2
3    // build url with parameters.
4    Uri.Builder builder = Uri.parse(url).buildUpon();
5    for (Map.Entry<String, String> entry : params.entrySet()) {
6        builder.appendQueryParameter(entry.getKey(), entry.getValue());
7    }
8
9    return builder.build();
10}
11
similar questions
queries leading to this page
uri builder in android studio