@Implements(value=android.support.v4.content.AsyncTaskLoader.class, shadowPicker=ShadowAsyncTaskLoader.Picker.class, isInAndroidSdk=false) @Deprecated public class ShadowPausedAsyncTaskLoader<D> extends ShadowAsyncTaskLoader
A shadow for AsyncTaskLoader
that is active when LooperMode
is Mode.PAUSED
.
ShadowAsyncTaskLoader.Picker
Constructor and Description |
---|
ShadowPausedAsyncTaskLoader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
setExecutor(Executor executor)
Deprecated.
Allows overriding background executor used by the AsyncLoader.
|
public void setExecutor(Executor executor)
Allows overriding background executor used by the AsyncLoader.
Its recommended to switch to androidx’s AsyncTaskLoader, which provides an overriddable getExecutor method.