Package org.robolectric.shadows
Class ShadowPausedAsyncTaskLoader<D>
java.lang.Object
org.robolectric.shadows.ShadowAsyncTaskLoader<D>
org.robolectric.shadows.ShadowPausedAsyncTaskLoader<D>
@Implements(value=android.content.AsyncTaskLoader.class,
shadowPicker=Picker.class,
isInAndroidSdk=false)
public class ShadowPausedAsyncTaskLoader<D>
extends ShadowAsyncTaskLoader<D>
The shadow
AsyncTaskLoader
for LooperMode.Mode.PAUSED
.
In LooperMode.Mode.PAUSED
mode, Robolectric just uses the real AsyncTaskLoader for
now.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowAsyncTaskLoader
ShadowAsyncTaskLoader.Picker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setExecutor
(Executor executor) Deprecated.It is recommended to switch to androidx's AsyncTaskLoader, which provides an overridable getExecutor method.
-
Constructor Details
-
ShadowPausedAsyncTaskLoader
public ShadowPausedAsyncTaskLoader()
-
-
Method Details
-
setExecutor
Deprecated.It is recommended to switch to androidx's AsyncTaskLoader, which provides an overridable getExecutor method.Allows overriding background executor used by the AsyncLoader.
-