How to Identify a ListViewItem to Update a Single Row

Posted by tunneling on Stack Overflow See other posts from Stack Overflow or by tunneling
Published on 2010-05-11T01:03:30Z Indexed on 2010/05/11 1:14 UTC
Read the original article Hit count: 307

Filed under:
|
|

I have a ListView displays information about an object. When I click a ListView Item, I open an Activity that let's me manipulate parameters of the object held in the adapter. These parameters are updated and stored remotely.

When I return to the ListView (via the back button), I want to update the ListView Item that I clicked originally by requesting the parameter values from the remote server.

I am currently doing this up updating the entire ListView by clearing it and rebuilding it.

How do I reference the ListView Item so that I can update the data for that item only?

Thanks, Jason

© Stack Overflow or respective owner

Related posts about android

Related posts about listview