Описание тега android-cursorloader
A loader that queries the `ContentResolver` and returns a `Cursor`. This class implements the `Loader` protocol in a standard way for querying cursors, building on `AsyncTaskLoader` to perform the cursor query on a background thread so that it does not block the application's UI.
A Loader designed to retrieve data from a ContentProvider. This class implements the Loader
protocol in a standard way for querying cursors, building on AsyncTaskLoader
to perform the cursor query on a background thread so that it does not block the application's UI.
A CursorLoader
must be built with the full information for the query to perform, either through the CursorLoader(Context, Uri, String[], String, String[], String)
or creating an empty instance with CursorLoader(Context)
and filling in the desired paramters with setUri(Uri)
, setSelection(String)
, setSelectionArgs(String[])
, setSortOrder(String)
, and setProjection(String[])
.