0
我希望我的listview以排序顺序作为我创建的首选项中的选定选项,因此可以告诉我或者提供一个代码来处理单选按钮的检查事件。
如何在首选项中处理RadioButton选中的事件?
<PreferenceCategory
android:summary="Sorting Order"
android:title="Sort By" >
<ListPreference
android:entries="@array/listOptions"
android:entryValues="@array/listValues"
android:key="listpref"
android:summary="Sorting Values"
android:title="Sort Order" />
</PreferenceCategory>