Good morning
The problem is simple but I still can not find the right way to start programming since I do not have much time to devote to programming. The question is the following ...
As I can generate an alphabet array to insert it in the columns of my table, the code where the parameters are entered is as follows.
//GENERA LAS COLUMNAS DE LA TABLA
private List<ColumnHeaderModel> getColumnHeaderList() {
List<ColumnHeaderModel> list = new ArrayList<>();
for (int i = 0; i < COLUMN_SIZE; i++) {
String strTitle = "A";
ColumnHeaderModel header = new ColumnHeaderModel(String.valueOf(i), strTitle);
list.add(header);
}
return list;
}
Here the loop rotates and prints the word with the number that passes until it reaches the limit of Columns
My idea is that each count print the letter in the corresponding column starting with A = 0 until Z = 25
Will there be a better method to do this?
If I resolve it, I'll publish it
Thanks