Listview showing row selected while current operation is on

Put your problem here if it does not fit any of the other categories.

Listview showing row selected while current operation is on

Postby sachendra » Tue Oct 06, 2009 1:07 pm

Hi everyone,
I am populating a list of available songs. When you tap on any row that particular song starts playing. I want to show that row selected or in some different color or background. I am able to show different color wen you select it, tap it but as you scroll listview that color is disappeared.

If i change the background of the view from onclick callback, change is reflected in more than one row. So it is also not working.

Is there any need to do changes in XML related to different states of row?
or whatever it is. Please let me know if anyone can help.
Sachendra Singh Rathore
Android aplication developer
Junior Developer
Junior Developer
Posts: 18
Joined: Wed Mar 18, 2009 12:25 pm
Location: Mumbai


Postby arams » Mon Oct 12, 2009 12:52 pm

try this
For Mobile Application Contact:
Experienced Developer
Experienced Developer
Posts: 89
Joined: Fri May 08, 2009 7:45 am


Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 5 guests