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.
  • Constructor Details

  • Method Details

    • 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.