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:
Runnable
- Direct Known Subclasses:
FileWriteTask
A
DynamicTask
to perform operations with Context
.-
Constructor Summary
ConstructorDescriptionContextTask
(Context context) Constructor to initialize an object of this class. -
Method Summary
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
-
Constructor Details
-
ContextTask
Constructor to initialize an object of this class.- Parameters:
context
- The context for this task.
-
-
Method Details
-
getContext
Get the context used by this task.- Returns:
- The context used by this task.
-