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
ConstructorDescriptionThemeExportTask
(int themeAction, ThemeListener<V> themeListener) Constructor to initialize an object of this class. -
Method Summary
Modifier and TypeMethodDescriptionprotected Uri
doInBackground
(Void params) int
Get the theme action used by this task.Get the theme bitmap used by this task.Get the listener to receive the theme events.protected void
onPostExecute
(DynamicResult<Uri> result) protected void
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
onCancelled, onCancelled, onProgressUpdate
-
Constructor Details
-
Method Details
-
onPreExecute
protected void onPreExecute()- Overrides:
onPreExecute
in classDynamicRunnable<Void,
Void, Uri>
-
doInBackground
- Specified by:
doInBackground
in 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.
-