In this situation, since you're only concatenating 20 or so Strings, just use a String, and simply concatenate in the loop using the + operator.
String myString = "";
for (int i = 0; i <...
Type: Posts; User: curmudgeon
In this situation, since you're only concatenating 20 or so Strings, just use a String, and simply concatenate in the loop using the + operator.
String myString = "";
for (int i = 0; i <...
One solution: create a String or StringBuilder prior to your loop, append the data that you're currently displaying to the String or StringBuilder, then after the loop ends, display the String in a...