1

Hi how can I make the mediaplayer continue after it plays the last song in a listview?

 `mediaPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
           @Override
           public void onCompletion(MediaPlayer mediaPlayer) {
              btnNext.performClick();
           }
   });`

I have tried to perform a click after the song finishes and it stops at the last song.

0 Answers0