Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 MVVMCross 在 android radiogroup 单选按钮上绑定一个单击命令。我想知道是否有一个我可以效仿的例子。
ApiExamples 项目有一个 RadioGroup 示例:
<MvxRadioGroup android:layout_width="fill_parent" android:layout_height="wrap_content" android:textSize="40dp" local:MvxItemTemplate="@layout/item_radio" local:MvxBind="ItemsSource Items;SelectedItem SelectedItem" />
来自https://github.com/MvvmCross/MvvmCross-Tutorials/blob/master/ApiExamples/ApiExamples.Droid/Resources/Layout/Test_RadioGroup.axml