[android-developers] Re: ListView of CheckedTextView + SQLite, display checked rows ?

2011-02-15 Thread Fusio9
Thanks mate, I actually ended implementing something like that (although it seems I don't need HistoryCursorAdapter and newView methods (?)). private class MyAdapter extends ResourceCursorAdapter { public MyAdapter(Context context, Cursor cur) { super(context, R.layout.todo

[android-developers] ListView of CheckedTextView + SQLite, display checked rows ?

2011-02-11 Thread Fusio9
Hi all, I am trying to implement a very simple "todo" list. I chose to use a ListView of CheckedTextView (with id checked_text), the ListView uses CHOICE_MODE_MULTIPLE of course. Now, I am using the SQLite database to store the list items. To fill the list I have something like: cursor = dbH