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 shadowAsyncTaskLoader
forLooperMode.Mode.PAUSED
. InLooperMode.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
Constructors Constructor Description ShadowPausedAsyncTaskLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
setExecutor(Executor executor)
Deprecated.It is recommended to switch to androidx's AsyncTaskLoader, which provides an overridable getExecutor method.
-
-
-
Method Detail
-
setExecutor
@Config(minSdk=19) @Deprecated public void setExecutor(Executor executor)
Deprecated.It is recommended to switch to androidx's AsyncTaskLoader, which provides an overridable getExecutor method.Allows overriding background executor used by the AsyncLoader.
-
-