Code example for CursorAdapter

Methods: getCursor, isEmpty

0
    } 
 
    public boolean isEmpty() 
    { 
        boolean flag;
        if(getCursor() == null)
            flag = true;
        else 
            flag = super.isEmpty();
        return flag;
    } 
 
    public View newView(Context context, Cursor cursor, ViewGroup viewgroup)
    { 
        return null; 
    } 
 
    public void onResume() 
    { 
    }