I have a recyclerview and i show the some type of messages in it.

when user clicked on one item play button, the mediaplayer started and if media player running and user click on play button for other items, media player stopped and new sound was playing.\
now this is my problem. when second item clicked, how can i change the past item play button image?
i used java in android studio