protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.FirstView); _bindableProgress = new BindableProgress(this); var set = this.CreateBindingSet<FirstView, FirstViewModel>(); set.Bind(_bindableProgress).For(p => p.Visible).To(vm => vm.IsBusy); set.Apply(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.FirstView); _bindableProgress = new BindableProgress(this); var set = this.CreateBindingSet <FirstView, FirstViewModel>(); set.Bind(_bindableProgress).For(p => p.Visible).To(vm => vm.IsBusy); set.Apply(); }