I have this ArrayList:
ArrayList debtList = datasource.debtList;
ArrayList feeList = datasource.feeList;
How
Assuming the number of entries in the ArrayLists are equal to the number of cells in the TableLayout, you can try something like this:
int index = 0;
TableLayout tableLayout = findViewById(R.id.table_layout);
for(int n = 0, s = tableLayout.getChildCount(); n < s; ++n) {
double debt = debtList.get(index);
double fee = feeList.get(index);
TableRow row = (TableRow) tableLayout.getChildAt(n);
TextView cell = (TextView) row.findViewById(R.id.textview_cell);
name.setText("debt = " + debt + ", fee = " + fee);
index++;
}