Question

I can now bind a CursorAdapter to a ListView. And the ListView can update automatically when the database is modified.

For the data rows in the database has a field 'type', they can be 'Daily', 'Weekly', 'Monthly', .etc. And I want to display the rows in ExpandableListView, so that every type of rows can group together. And I also want the ExpandableListView can update automatically when the database is modified. How can I combine the CursorAdapter and ExpandableListView together?

I googled a lot, but cannot find a solution, thank you for your attention!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top