MvvmCross UIView Tap Command Binding
var set = this.CreateBindingSet<SomeView, SomeViewModel>(); | |
// Use UIView Tap extension method in Cirrious.MvvmCross.Binding.Touch.Views.Gestures: | |
set.Bind (whateverLabel.Tap ()) | |
.For (v => v.Command) | |
.To (vm => vm.WhateverCommand); | |
set.Apply(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment