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,
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) {
2 matches
Mail list logo