Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In listview changing background of button in rows on click of button in one row

 
Anuj Prashar
Ranch Hand
Posts: 99
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!

I have a listview with play button to play songs in each row. When i click on play button its background changes to pause button. What i want is when I click on play button in one row, the button that has background set to pause image on previous click should automatically change to play image and only the button which I has clicked should have pause background.
On click of button in a row of listview how to change other rows buttons background?




Thanks,
Anuj
image.png
[Thumbnail for image.png]
list image
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic