views:

252

answers:

0

Hi! I am developing an application on Android's platform to play a sound when I toggle a button. I am able to get the application working properly when I have one toggle button. However, when I have multiple toggle buttons, all of them just play the first sound from the first toggle button. How do I go about to solve it?

I have all the methods for every button but the code just seem to keep following the first method. Can anyone help me? (: