I am developing an application in Xamarin Android with MvvmCross. MvvmCross helps you associate view properties in a layout directly with ViewModels. For EditText, we can bind text, for example
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
local:MvxBind="Text Property" />
I need to bind SearchView text using MvvmCross. I tried Textas below, but it does not work.
<SearchView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:queryHint="Customer name"
local:MvxBind="Text SearchString" />
How can I link SearchView text using MvvmCross?
source
share