0

I would like to know how can I bind listeners of EditText to ViewModel via MvxCommad and ICommand/IMvxCommand

In the below layout, I want to send/push the Editable object which contain the user input to the ViewModel to apply some logic.

I managed to bind button clicks to ViewModel using MvxBind. But i did not find any way to bind AfterTextchanged of EditText?

EditText:

mvxBind="AftertextChanged onAfterTextChanged"

user10776303
  • 241
  • 6
  • 16

1 Answers1

0

AftertextChanged should be AfterTextChanged.

Additionally, the current implementation of the built in MvvmCross binding relies on AfterTextChanged to bind back the value of the current Text to the ViewModel after it is changed.

wishmaster
  • 1,303
  • 8
  • 15