public EditTextViewTextBinding(KXObservable observable, TextView textView) { _observable = observable; _textView = textView; _subscription = observable.Subscribe(); _subscription.OnChange = OnModelChange; textView.AfterTextChanged += OnViewChange; }
public TextViewTextBinding(KXObservable observable, TextView textView) { _subscription = observable.Subscribe(); _subscription.OnChange = value => textView.Text = value; }