Reputation: 2249
I have total 9 rows. I want to change text style in only one row, for example in a row, which TextView text equals "Disabled". When i set text style for this row, it affects 3 more rows. In Result i have 4 rows which TextView text is bold. What kind of problem is it?
Upvotes: 0
Views: 75
Reputation: 511
In ListView adapter Views are reused or recycled. In your code, set it to your special textStyle when "Disabled" and to default when not.
Upvotes: 1