I am unable to get radio buttons to appear in list items when a list
view is bound to a data table.
When a list view is bound through an ArrayAdaptor I can arrange for
radio buttons to appear in the list items by:
a) Creating a new activity that extends ListActivity.
b) Setting selection mode to single or multiple.
c) Using a built-in layout as appropriate:
android.R.layout.simple_list_item_single_choice or
android.R.layout.simple_list_item_single_choice.
Everything works fine.

When I try to get the same functionality in a different application by
binding to a data table using SimpleCursorAdaptor (instead of an
ArrayAdaptor) all I can achieve is a nice column of radio buttons, no
text.  I guess I can see why - SimpleCursorAdaptor requires a TO
parameter whereas ArrayAdaptor doesn't.  If I use my own layout for
list items the text appears but, of course, there are no radio
buttons.

Could someone give me a clue how to do this, please?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to