if (row == null) {
LayoutInflater inflater = ((Activity) ctx).getLayoutInflater();
row = (LinearLayout) inflater.inflate(
- R.layout.transaction_list_row_accounts_table_row,
- holder.tableAccounts);
+ R.layout.transaction_list_row_accounts_table_row, null);
+ // if the rootView above is given (and the line below is spared)
+ // the accounts remain with their default text (set in the layout resource)
+ holder.tableAccounts.addView(row);
}
TextView accName = row.findViewById(R.id.transaction_list_acc_row_acc_name);
TextView accComment =