sephiroth74 / HorizontalVariableListView

Horizontal list view for Android which allows variable items widths
859 stars 283 forks source link

Question about "setItemChecked" method #78

Open dsirocchi opened 10 years ago

dsirocchi commented 10 years ago

Hi, I have a question about the "setItemChecked" method found in AbsHListView.java.

I've noticed that, if I call that function, the entire list of items get reloaded: this is a problem for me because I have a lot of images inside the list.

Now, with some debug, I saw that inside the "setItemChecked" method there is a flag that is set to true: mDataChanged = true; and this is, I think, what is causing the total refresh of the list.

I'm saying something wrong or is that an unwanted behavior ?

Anyway thanks alot for your work, it's really well written.

Regards.