|
|
@ -62,7 +62,11 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void load(final Fragment fragment, Bundle args) {
|
|
|
|
public void load(final Fragment fragment, Bundle args) {
|
|
|
|
|
|
|
|
try {
|
|
|
|
run(fragment.getContext(), fragment.getViewLifecycleOwner(), args);
|
|
|
|
run(fragment.getContext(), fragment.getViewLifecycleOwner(), args);
|
|
|
|
|
|
|
|
} catch (IllegalStateException ex) {
|
|
|
|
|
|
|
|
Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@OnLifecycleEvent(Lifecycle.Event.ON_START)
|
|
|
|
@OnLifecycleEvent(Lifecycle.Event.ON_START)
|
|
|
|