public TrainingVideoPage(RootPage root) { try { InitializeComponent(); this._model = new TrainingVideoViewModel(); this._model.Root = root; this.Init(); } catch (Exception ex) { var m = ex; } }
public TrainingVideoPage(RootPage root) { try { InitializeComponent(); App.Configuration.InitialAsync(this); this._model = new TrainingVideoViewModel(); this._model.Root = root; BindingContext = this._model; this._model.OnLoad(); ButtonPlayStop.Clicked += ButtonPlayStop_Clicked; ButtonNext.Clicked += ButtonNext_Clicked; ButtonPrevious.Clicked += ButtonPrevious_Clicked; } catch (Exception ex) { var exceptionHandler = new ExceptionHandler(TAG, ex); } }