T - public abstract class OrmLiteLoader<T>
extends android.content.AsyncTaskLoader<T>
CursorLoader| 限定符 | 构造器和说明 |
|---|---|
protected |
OrmLiteLoader(android.content.Context context,
android.net.Uri uri) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deliverResult(T data) |
protected abstract <E extends SQLiteDatabaseHelper> |
getHelperClass()
返回
SQLiteDatabaseHelper实现类的类型 |
T |
loadInBackground() |
protected void |
onReset() |
protected void |
onStartLoading() |
protected void |
onStopLoading() |
protected abstract T |
query(DatabaseHelper databaseHelper)
返回符合要求的记录,在回调的
android.app.LoaderManager.LoaderCallbacks#onLoadFinished(Loader, Object)
将传入此返回值。 |
cancelLoadInBackground, dump, isLoadInBackgroundCanceled, onCanceled, onCancelLoad, onForceLoad, onLoadInBackground, setUpdateThrottleabandon, cancelLoad, dataToString, deliverCancellation, forceLoad, getContext, getId, isAbandoned, isReset, isStarted, onAbandon, onContentChanged, registerListener, registerOnLoadCanceledListener, reset, startLoading, stopLoading, takeContentChanged, toString, unregisterListener, unregisterOnLoadCanceledListenerpublic T loadInBackground()
loadInBackground 在类中 android.content.AsyncTaskLoader<T>protected void onStartLoading()
onStartLoading 在类中 android.content.Loader<T>protected void onStopLoading()
onStopLoading 在类中 android.content.Loader<T>protected void onReset()
onReset 在类中 android.content.Loader<T>protected abstract <E extends SQLiteDatabaseHelper> Class<E> getHelperClass()
SQLiteDatabaseHelper实现类的类型protected abstract T query(DatabaseHelper databaseHelper) throws SQLException
android.app.LoaderManager.LoaderCallbacks#onLoadFinished(Loader, Object)
将传入此返回值。databaseHelper - SQLExceptionCopyright © 2018. All rights reserved.