Android ListView modifies after onItemClick?

You're reusing View's for different elements (a good thing) but your ViewHolder object's reference will still hold references to the previous elements objects. It would be better (and work) to re-find them.

– Seraphis Jul 27 at 20:55 Yes, don't use a ViewHolder and call convertView. FindX each time. Or, use a dictionary keyed on an element ID with a value of the ViewHolder, etc. – Berdon Jul 27 at 21:00 I've found exact reason: "return convertView" from else statement.

Now I just have to remove downloading picture from that code :-) Thanks a lot! – Seraphis Jul 27 at 21:05.

It's much easier and the class was specifically created for asynchronously loading up elements in things like a listview. The way you have the code written right now is not going to work very well and is prone to all kinds of error. In android, a general rule of thumb is to not use the raw Thread class unless you abosultely have to.

Use either the AsyncTaskLoader, AsyncTask, or IntentService. Final note, if you're developing for API levels less than 10, you can still access the AsyncTaskLoader class via the android Support Package.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions