|
|
@ -47,7 +47,7 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
|
|
|
private Bundle args;
|
|
|
|
private Bundle args;
|
|
|
|
private Result stored;
|
|
|
|
private Result stored;
|
|
|
|
|
|
|
|
|
|
|
|
private ExecutorService executor = Executors.newCachedThreadPool(Helper.backgroundThreadFactory);
|
|
|
|
private static ExecutorService executor = Executors.newCachedThreadPool(Helper.backgroundThreadFactory);
|
|
|
|
|
|
|
|
|
|
|
|
public void load(Context context, LifecycleOwner owner, Bundle args) {
|
|
|
|
public void load(Context context, LifecycleOwner owner, Bundle args) {
|
|
|
|
run(context, owner, args);
|
|
|
|
run(context, owner, args);
|
|
|
|