Wednesday, August 14, 2013

[android-developers] Select unselect image on list view

Hi there,

i have a list view and in that list view in each row i have image unselectimage.png.
i want when some one click on that i want to replace that image with selected.png.

suppose if item is already selected then i want to unselected image.

suppose list view is having 10 items in out of 10 . 9 itms willbe unselected and only one willbe selected.

my query is that how to load unselect image on all items and select image on the item which is currently selected.


thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment