ListView配合RadioButton實現單選列表

ListView中自帶選擇模式,這裏是要實現單選,所以設置listview屬性爲singlechoice,爲單選模式,Listview佈局如下: <ListView android:id="@+id/lv_main" android:layout_width="match_parent" android:layout_height="wrap_content" an
相關文章
相關標籤/搜索