How Do I Make Shuffle Playlist Button And Repeat Button In Android Studio
I dont know how to convert this code to android studio i am stuck on it for 2 days and cant figure it out Plz help me btnRepeat.setOnClickListener(new View.OnClickListener()
Solution 1:
You should use something like a toggle button! Instead of a normal button so you don't have to care what is switched on and off! Here the JavaDoc:
http://developer.android.com/reference/android/widget/ToggleButton.html
And this link contains a nice tutorial on how to use it within your code:
Post a Comment for "How Do I Make Shuffle Playlist Button And Repeat Button In Android Studio"