Reputation: 1
I have a Scrolled TableLayout with hundred row's and I update the content of row's according to timer , I want to to update only the row's are currently appear in the screen and not the hidden row's in the bottom of ScrollView
Upvotes: 0
Views: 773
Reputation: 5457
You can use a flag value set to true if the row is visible and the same to false if it is invisible. Then in your timer just check the boolean flag and if it is true update the content.
Upvotes: 0
Reputation: 548
Can't you use
int test = tableRow.getVisibity();
and use if statements to based on the value obtained?
Upvotes: 1