Java android.widget CursorAdapter fields, constructors, methods, implement or subclass

Example usage for Java android.widget CursorAdapter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget CursorAdapter.

The text is from its open source code.

Subclass

android.widget.CursorAdapter has subclasses.
Click this link to see all its subclasses.

Field

intFLAG_AUTO_REQUERY
If set the adapter will call requery() on the cursor whenever a content change notification is delivered.
intFLAG_REGISTER_CONTENT_OBSERVER
If set the adapter will register a content observer on the cursor and will call #onContentChanged() when a notification comes in.

Constructor

CursorAdapter(Context context, Cursor c, boolean autoRequery)
Constructor that allows control over auto-requery.
CursorAdapter(Context context, Cursor c, int flags)
Recommended constructor.
CursorAdapter(Context context, Cursor c)
Constructor that always enables auto-requery.

Method

CursorgetCursor()
Returns the cursor.
CursorswapCursor(Cursor newCursor)
Swap in a new Cursor, returning the old Cursor.