diff --git a/MediaManager/Platforms/Android/Player/AndroidMediaPlayer.cs b/MediaManager/Platforms/Android/Player/AndroidMediaPlayer.cs index b6436ddb..302a8b99 100644 --- a/MediaManager/Platforms/Android/Player/AndroidMediaPlayer.cs +++ b/MediaManager/Platforms/Android/Player/AndroidMediaPlayer.cs @@ -190,7 +190,12 @@ protected virtual void Initialize() { case Com.Google.Android.Exoplayer2.Player.StateEnded: if (!Player.HasNext) + { MediaManager.OnMediaItemFinished(this, new MediaItemEventArgs(MediaManager.Queue.Current)); + // Fix for bug #703 - Repeat queue items does not work on android + // https://github.com/Baseflow/XamarinMediaManager/issues/703 + MediaManager.PlayNext(); + } //TODO: This means the whole list is finished. Should we fire an event? break; case Com.Google.Android.Exoplayer2.Player.StateIdle: