I would like to populate a number of TextViews through a for loop. This isn't an actual code sample but I hope it's enough to give you an idea of what I'm trying to do. I'm not even sure this is possible but I'm hoping someone has found a way.
TextView dataTV0 = (TextView) v.findViewById(R.id.dataTV0);
TextView dataTV1 = (TextView) v.findViewById(R.id.dataTV1);
TextView dataTV2 = (TextView) v.findViewById(R.id.dataTV2);
TextView dataTV3 = (TextView) v.findViewById(R.id.dataTV3);
TextView dataTV4 = (TextView) v.findViewById(R.id.dataTV4);
TextView dataTV5 = (TextView) v.findViewById(R.id.dataTV5);
String[] data; //This is acquired from another source
for (int i = 0; i < 6; i++){
(String.format("dataTV%d", i).setText(data[i]);
}