protected override void OnAppearing() { base.OnAppearing(); var t = new AudioPlayerViewModel(DependencyService.Get <IAudioPlayerService>()); t.play("1.3gpp"); }
public Tester() { InitializeComponent(); BindingContext = new AudioPlayerViewModel(DependencyService.Get <IAudioPlayerService>()); }