Reputation: 432
Is it possible to bind the text property of a switch control?
<Switch
android:layout_width="wrap_content"
android:layout_height="wrap_content"
local:MvxBind="Text Name" />
Upvotes: 0
Views: 315
Reputation: 66882
Looking at the inheritance tree - http://developer.android.com/reference/android/widget/Switch.html - a Switch
is a TextView
- so any binding like Text
which works on TextView
should work on Switch
Upvotes: 1