Hello
I have a multi choice listview. I would like to add more than one line of text to each list item. e.g.
List Item 1
Subtext
With subtext being smaller text.
etc.
I can’t find a solid example of this bar making my own custom list adapter which adds complications for multi select and is sort of over my head. The way I add items currently is
private static final String[] items={"my", "name", "is", "mark", "i", "am", "testing", "lists"};
theList = new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_multiple_choice, items);
setListAdapter(theList);
Is there any way to do this?
You are going to have to create a custom list adapter.
Start by checking out this example and if you still have problems post a new question with your code that you have tried.Edit: New link. Checkout this question for an example. Custom Adapter for List View