Class ShadowPausedAsyncTaskLoader<D>

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

@Implements(value=android.support.v4.content.AsyncTaskLoader.class,
            shadowPicker=Picker.class,
            isInAndroidSdk=false)
@Deprecated
public class ShadowPausedAsyncTaskLoader<D>
extends ShadowAsyncTaskLoader
Deprecated.
use the androidx AsyncTaskLoader instead, which has an overriddable getExecutor method.
A shadow for AsyncTaskLoader that is active when LooperMode is Mode.PAUSED.
  • Constructor Details

  • Method Details

    • setExecutor

      public void setExecutor​(Executor executor)
      Deprecated.
      Allows overriding background executor used by the AsyncLoader.

      Its recommended to switch to androidx's AsyncTaskLoader, which provides an overriddable getExecutor method.