Skip to content

Table still reload data #415

@asamarsal

Description

@asamarsal

Table still reload data when i scroll table to end of table and back to start of table.

I dont want the table reload again when i reach end of the table.

This is my table :

Normal
b3a06648a94ea54979f37adbc81514cc

When i scroll to end
b6a13f72aee2ed97002fc0090672276b

When i scroll back to start
7d55106662cc6b2021f93a1a9fd19a09

I know my code will remove index 0 from array artnrHeader. so, i dont want my table reload again when i scroll to end

My code :
if (columnPosition == 0) {
if (!artnrHeader.isEmpty()) {
int artnr = artnrHeader.get(0);
bezeich = artikelMap.get(artnr);
artnrHeader.remove(0);
}
cellViewHolder.cell_textview.setText(bezeich.trim());
cellViewHolder.cell_textview.setGravity(Gravity.START | Gravity.CENTER_VERTICAL);
}

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions