In my mobile application, I am expanding ListActivity at a time. I have to put textview and a checkbox in each list list. I do not want to use custom layout How do I use the default Android layout and get one? The entries for the text view are stored in an array, so I am using SimpleArrayAdapter.
If I need you, I can also use SimpleCursorAdapter. You can use android.R.layout.simple_list_item_multiple_choice for layout ID.
This will give you a check box and your desired string from the adapter in all list items.
Comments
Post a Comment