Class ShadowPausedAsyncTaskLoader<D>

java.lang.Object
org.robolectric.shadows.ShadowAsyncTaskLoader<D>
org.robolectric.shadows.ShadowPausedAsyncTaskLoader<D>

The shadow AsyncTaskLoader for LooperMode.Mode.PAUSED.

In LooperMode.Mode.PAUSED mode, Robolectric just uses the real AsyncTaskLoader for now.

  • Constructor Details

    • ShadowPausedAsyncTaskLoader

      public ShadowPausedAsyncTaskLoader()
  • Method Details

    • setExecutor

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