public AudioILCE() { InitializeComponent(); BindingContext = new RadioILCEViewModel(); //PlayButton.Clicked += (sender, args) => audioPlayer.Play(); //StopButton.Clicked += (sender, args) => audioPlayer.Stop(); }
public RadioILCE() { InitializeComponent(); BindingContext = new RadioILCEViewModel(); //CrossMediaManager.Current.PlayingChanged += (sender, args) => progress.Progress = args.Progress; //CrossMediaManager.Current.Play(audioUrl, MediaFileType.Video); //MyVideoView.Source = audioUrl; //PlayButto.Clicked += (sender, args) => CrossMediaManager.Current.PlaybackController.Play(); //StopButto.Clicked += (sender, args) => CrossMediaManager.Current.PlaybackController.Stop(); }