I like to bind 2 properties from my ViewModel into my EditText control via MVX I've tried the code below but the compiler does not approve the second local:mvxBind.
<EditText
android:inputType="textMultiLine|textCapSentences|textAutoCorrect"
android:layout_width="match_parent"
android:layout_height="110dp"
android:gravity="top"
local:MvxBind="MaxLength Config.Field.GetMaxLength"
local:MvxBind="Text Config.Field.TextValue"
android:layout_marginBottom="0.0dp"
android:id="@+id/txtValue"/>
My ViewModel has a config object, and the config object has a field object. When I just bind 1 property. In case of the Text property, it works fine. In case of the MaxLenght property, the value is ignored
Anyone any ideas?
update: I found the method to bind multiple properties:
local:MvxBind="MaxLength Config.Field.GetMaxLength; Text Config.Field.TextValue"
The Text binding is oK... I can see the GetMaxLength properties is Get on a break point in my ViewModel... But still ignored in the EditText control.
I wonder if the EditText property MaxLength can be bind with MVX. If so? How?