I have to open a webview which loads a dynamic url based on certain parameters, I have to create the url based on different strings.
What I'd like to do is the following:
String webPage = "www.webpage.com/" + "stringA/" + "stringB/"
-> where stringA and stringB are selected based on given conditions.
Is there any way of achieving this?
I have found this idea, where the author discusses the employment of Resources#getIdentifier()
vs. using reflection. Since performance is an issue for my use case, I am looking for an approach with a good runtime behavior.