[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,

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

2011-02-12 Thread Rutton
If you have done a cursor adapter once, itis really easy. I have put some example code here. It is stripped down to the essentials: public class HistoryCursorAdapter extends CursorAdapter { private Cursor cursor; public HistoryCursorAdapter(Context context, Cursor c) {