Android 12 Developer Preview is here! Try it out, and give us your feedback!

ResourceCursorAdapter

abstract class ResourceCursorAdapter : CursorAdapter
kotlin.Any
   ↳ android.widget.BaseAdapter
   ↳ androidx.cursoradapter.widget.CursorAdapter
   ↳ androidx.cursoradapter.widget.ResourceCursorAdapter

Static library support version of the framework's android.widget.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
Public constructors
<init>(context: Context!, layout: Int, c: Cursor!)

Constructor the enables auto-requery.

<init>(context: Context!, layout: Int, c: Cursor!, autoRequery: Boolean)

Constructor with default behavior as per CursorAdapter#CursorAdapter(Context, Cursor, boolean); it is recommended you not use this, but instead ResourceCursorAdapter(Context, int, Cursor, int).

<init>(context: Context!, layout: Int, c: Cursor!, flags: Int)

Standard constructor.

Public methods
open View!
newDropDownView(context: Context!, cursor: Cursor!, parent: ViewGroup!)

open View!
newView(context: Context!, cursor: Cursor!, parent: ViewGroup!)

Inflates view(s) from the specified XML file.

open Unit
setDropDownViewResource(dropDownLayout: Int)

Sets the layout resource of the drop down views.

open Unit

Sets the layout resource of the item views.

Inherited functions