I would to create a string with the value of ‘anInteger’ and append with a string from string.xml. This is what i am doing:
StringBuilder sb = new StringBuilder();
sb.append(anInteger);
sb.append(" ");
sb.append(getString(R.string.aString));
I wonder if there is a clearer or easier way to do that in android?
Thank you.
Declare your resource like this:
Then you just do: