belongs to Maven artifact com.android.support:cursoradapter:28.0.0-alpha1
CursorAdapter
public
abstract
class
CursorAdapter
extends BaseAdapter
implements
Filterable
java.lang.Object | ||
↳ | android.widget.BaseAdapter | |
↳ | android.support.v4.widget.CursorAdapter |
![]() |
![]() |
Static library support version of the framework's CursorAdapter
.
Used to write apps that run on platforms prior to Android 3.0. When running
on Android 3.0 or above, this implementation is still used; it does not try
to switch to the framework's implementation. See the framework SDK
documentation for a class overview.
Summary
Constants | |
---|---|
int |
FLAG_AUTO_REQUERY
This constant was deprecated
in API level 22.1.0.
This option is discouraged, as it results in Cursor queries
being performed on the application's UI thread and thus can cause poor
responsiveness or even Application Not Responding errors. As an alternative,
use |
int |
FLAG_REGISTER_CONTENT_OBSERVER
If set the adapter will register a content observer on the cursor and will call
|
Inherited constants |
---|
![]()
android.widget.Adapter
|
Public constructors | |
---|---|
CursorAdapter(Context context, Cursor c)
This constructor was deprecated
in API level 22.1.0.
This option is discouraged, as it results in Cursor queries
being performed on the application's UI thread and thus can cause poor
responsiveness or even Application Not Responding errors. As an alternative,
use |
|
CursorAdapter(Context context, Cursor c, boolean autoRequery)
Constructor that allows control over auto-requery. |
|
CursorAdapter(Context context, Cursor c, int flags)
Recommended constructor. |
Public methods | |
---|---|
abstract
void
|
bindView(View view, Context context, Cursor cursor)
Bind an existing view to the data pointed to by cursor |
void
|
changeCursor(Cursor cursor)
Change the underlying cursor to a new cur |