Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table still reload data #415

Open
asamarsal opened this issue Aug 23, 2024 · 0 comments
Open

Table still reload data #415

asamarsal opened this issue Aug 23, 2024 · 0 comments
Labels

Comments

@asamarsal
Copy link

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

@asamarsal asamarsal added the bug label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant