Class 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:
Direct Known Subclasses:

public abstract class ContextTask<T,P,R> extends DynamicTask<T,P,R>
A DynamicTask to perform operations with Context.
  • Constructor Details

    • ContextTask

      public ContextTask(@Nullable Context context)
      Constructor to initialize an object of this class.
      context - The context for this task.
  • Method Details

    • getContext

      @Nullable public Context getContext()
      Get the context used by this task.
      The context used by this task.