Class ThemeExportTask<V extends DynamicAppTheme>
java.lang.Object
com.pranavpandey.android.dynamic.util.concurrent.DynamicRunnable<T,P,R>
com.pranavpandey.android.dynamic.util.concurrent.DynamicTask<Void,Void,Uri>
com.pranavpandey.android.dynamic.support.theme.task.ThemeExportTask<V>
- Type Parameters:
V- The type of the dynamic app theme.
- All Implemented Interfaces:
Runnable
A
DynamicTask to perform the theme related operations.-
Constructor Summary
ConstructorsConstructorDescriptionThemeExportTask(int themeAction, ThemeListener<V> themeListener) Constructor to initialize an object of this class. -
Method Summary
Modifier and TypeMethodDescriptionprotected UridoInBackground(Void params) intGet the theme action used by this task.Get the theme bitmap used by this task.Get the listener to receive the theme events.protected voidonPostExecute(DynamicResult<Uri> result) protected voidMethods inherited from class com.pranavpandey.android.dynamic.util.concurrent.DynamicTask
cancel, execute, execute, executeOnExecutor, executeOnExecutor, finish, get, get, getBooleanResult, getHandler, getStatus, isCancelled, publishProgress, runMethods inherited from class com.pranavpandey.android.dynamic.util.concurrent.DynamicRunnable
onCancelled, onCancelled, onProgressUpdate
-
Constructor Details
-
Method Details
-
onPreExecute
protected void onPreExecute()- Overrides:
onPreExecutein classDynamicRunnable<Void,Void, Uri>
-
doInBackground
- Specified by:
doInBackgroundin classDynamicRunnable<Void,Void, Uri>
-
getThemeAction
public int getThemeAction()Get the theme action used by this task.- Returns:
- The theme action used by this task.
-
getThemeListener
Get the listener to receive the theme events.- Returns:
- The listener to receive the theme events.
-
getThemeBitmap
Get the theme bitmap used by this task.- Returns:
- The theme bitmap used by this task.
-