Beispiel #1
0
        protected override void OnAppearing()
        {
            base.OnAppearing();
            var t = new AudioPlayerViewModel(DependencyService.Get <IAudioPlayerService>());

            t.play("1.3gpp");
        }
Beispiel #2
0
 public Tester()
 {
     InitializeComponent();
     BindingContext = new AudioPlayerViewModel(DependencyService.Get <IAudioPlayerService>());
 }