added in version 22.1.0
belongs to Maven artifact com.android.support:cursoradapter:28.0.0-alpha1

ResourceCursorAdapter

public abstract class ResourceCursorAdapter
extends CursorAdapter

java.lang.Object
   ↳ android.widget.BaseAdapter
     ↳ android.support.v4.widget.CursorAdapter
       ↳ android.support.v4.widget.ResourceCursorAdapter
Known Direct Subclasses


Static library support version of the framework's ResourceCursorAdapter. 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

Inherited constants

From class android.support.v4.widget.CursorAdapter
From interface android.widget.Adapter

Public constructors

ResourceCursorAdapter(Context context, int layout, 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 LoaderManager with a CursorLoader.

ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery)

This constructor was deprecated in API level 24.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 LoaderManager with a CursorLoader.

ResourceCursorAdapter(Context context, int layout, Cursor c, int flags)

Standard constructor.

Public methods

View newDropDownView(Context context, Cursor cursor, ViewGroup parent)

Makes a new drop down view to hold the data pointed to by cursor.

View