public class SimpleCursorAdapter
extends ResourceCursorAdapter

   ↳ android.widget.BaseAdapter
     ↳ androidx.cursoradapter.widget.CursorAdapter
       ↳ androidx.cursoradapter.widget.ResourceCursorAdapter
         ↳ androidx.cursoradapter.widget.SimpleCursorAdapter

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


Nested classes

interface SimpleCursorAdapter.CursorToStringConverter

This class can be used by external clients of SimpleCursorAdapter to define how the Cursor should be converted to a String. 

interface SimpleCursorAdapter.ViewBinder

This class can be used by external clients of SimpleCursorAdapter to bind values fom the Cursor to views. 

Inherited constants

Public constructors

SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to)

This constructor is deprecated. 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.