It seems to me that the code you previously posted is a bit too naive.

The adapter's getView method can get called multiple times, not neecessarily in a partcular order, etc. It's Ok to trigger program logic based on getView, but you've got to carefully check your program's current state.

There is a good article on the official android-developers blog that ties together ListView and network operations that run on background threads (and more). The title has something to do with multithreading (or multitasking). Sorry I can't be more specific, this is from memory.

-- Kostya


25.06.2011 22:48, Vadim Khondar пишет:
It seems like problem is somehow related to fact that I'm trying to
tie listener with controls of activity in adapter.

I there any other way to attach listener code to controls in
particular row of listview instead of used by me?


--
--
Kostya Vasilyev

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to