Class ContextTask<T,P,R>
- java.lang.Object
-
- com.pranavpandey.android.dynamic.util.concurrent.DynamicRunnable<T,P,R>
-
- com.pranavpandey.android.dynamic.util.concurrent.DynamicTask<T,P,R>
-
- com.pranavpandey.android.dynamic.util.concurrent.task.ContextTask<T,P,R>
-
- Type Parameters:
T- The type of the params.P- The type of the progress.R- The type of the result.
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
FileWriteTask
public abstract class ContextTask<T,P,R> extends DynamicTask<T,P,R>
ADynamicTaskto perform operations withContext.
-
-
Constructor Summary
Constructors Constructor Description ContextTask(android.content.Context context)Constructor to initialize an object of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.content.ContextgetContext()Get the context used by this task.-
Methods inherited from class com.pranavpandey.android.dynamic.util.concurrent.DynamicTask
cancel, execute, execute, executeOnExecutor, executeOnExecutor, finish, get, get, getBooleanResult, getHandler, getStatus, isCancelled, publishProgress, run
-
Methods inherited from class com.pranavpandey.android.dynamic.util.concurrent.DynamicRunnable
doInBackground, onCancelled, onCancelled, onPostExecute, onPreExecute, onProgressUpdate
-
-