public abstract class CommonAsyncTask<PARAM,PROGRESS,RESULT> extends android.os.AsyncTask<PARAM,PROGRESS,CommonAsyncTask.Result<RESULT>>
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
CommonAsyncTask.Result<SR> |
| Modifier | Constructor and Description |
|---|---|
protected |
CommonAsyncTask() |
protected |
CommonAsyncTask(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
defaultOnFailurePostExecute(Exception e) |
protected CommonAsyncTask.Result<RESULT> |
doInBackground(PARAM... params) |
protected abstract RESULT |
doWork(List<PARAM> params) |
protected android.content.Context |
getContext() |
protected abstract void |
onFailurePostExecute(Exception e) |
protected void |
onPostExecute(CommonAsyncTask.Result<RESULT> r) |
protected void |
onPreExecute() |
protected abstract void |
onSuccessPostExecute(RESULT result) |
protected void |
throwException(Exception e) |
protected CommonAsyncTask()
protected CommonAsyncTask(@Nonnull android.content.Context context)
protected void onPreExecute()
onPreExecute in class android.os.AsyncTask<PARAM,PROGRESS,CommonAsyncTask.Result<RESULT>>protected final CommonAsyncTask.Result<RESULT> doInBackground(PARAM... params)
doInBackground in class android.os.AsyncTask<PARAM,PROGRESS,CommonAsyncTask.Result<RESULT>>protected void onPostExecute(@Nonnull CommonAsyncTask.Result<RESULT> r)
onPostExecute in class android.os.AsyncTask<PARAM,PROGRESS,CommonAsyncTask.Result<RESULT>>@Nullable protected android.content.Context getContext()
Copyright © 2015 se.solovyev. All Rights Reserved.