2013-11-04 15 views

回答

2

的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

+2

其實地方:MvxBind = 「點擊我的命令」 的作品就好了無線電集團內部的單選按鈕。無論如何謝謝Stuart。 –

+0

以下相關問題的任何想法http://stackoverflow.com/questions/37448865/capture-selected-radiobutton-from-the-radiogroup – hotspring