public void PlayFile(PodcastPlayItem playItem) { PlayList[index].IsPlaying = false; index = PlayList.IndexOf(playItem); PlayList[index].IsPlaying = true; App.MediaPlayer.InitPlay(playItem, PodcastDetailItem.artworkUrl100); }
public void InitPlay(PodcastPlayItem playItem, string coverImage) { IsPlaying = true; DependencyService.Get <IAudioStreamingService>().InitAndPlay(playItem.AudioPath, playItem.Title); ShowPlayer = true; AudioTitle = playItem.Title; AudioImage = coverImage; }