java.lang.ClassCastException: cannot be cast to android.widget.RadioButton錯誤

                                                                                     圖一 錯誤提示如圖一,錯誤代碼如圖二,mMandatoryMeasuresRg的佈局代碼如圖三。 原因:類型強轉錯誤,RadioGroup內部包含的三個控件的順序分別爲TextView(0),RadioButton(1),Radi
相關文章
相關標籤/搜索