Closed asadwaheed1 closed 4 years ago
When player a playlist next and previous buttons do nothing,
ArgAudio audio1 = new ArgAudio("Led Zepplin", "Immigrant Song", this.getString(R.string.song1), AudioType.URL); ArgAudio audio2 = new ArgAudio("Linkin Park", "In the End", this.getString(R.string.song2), AudioType.URL); ArgAudio audio3 = new ArgAudio("One Direction", "Best Song Ever", this.getString(R.string.song3), AudioType.URL); playlist = new ArgAudioList(true).add(audio1) .add(audio2) .add(audio3); argMusicPlayer = findViewById(R.id.musicplayer); argMusicPlayer.enableNotification(MainActivity.class); argMusicPlayer.playPlaylist(playlist);
When player a playlist next and previous buttons do nothing,
ArgAudio audio1 = new ArgAudio("Led Zepplin", "Immigrant Song", this.getString(R.string.song1), AudioType.URL); ArgAudio audio2 = new ArgAudio("Linkin Park", "In the End", this.getString(R.string.song2), AudioType.URL); ArgAudio audio3 = new ArgAudio("One Direction", "Best Song Ever", this.getString(R.string.song3), AudioType.URL); playlist = new ArgAudioList(true).add(audio1) .add(audio2) .add(audio3); argMusicPlayer = findViewById(R.id.musicplayer); argMusicPlayer.enableNotification(MainActivity.class); argMusicPlayer.playPlaylist(playlist);