It is a bad idea to hold all your texture is static array in static class. It is very hard to manage memory and control which texture will be removed by GC when you minimize your game or in other similar cases.
I recommend you to use AssetManager for loading and disposing your resources. You can find lots of useful information about AssetManager and resources management here Managing your assets (https://github.com/libgdx/libgdx/wiki/Managing-you...
if(n2 < tableCity.size()) {
String n1 = tableCity.get(n2);
n2++;
return n1;
}
public class Tmp {
ArrayList<Integer> LI = new ArrayList<Integer>();
}
public class Tmp {
ArrayList<Integer> LI = new ArrayList<Integer>();
public void populateList() {
LI.add(1231);
}
}