All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.shadows.ShadowAsyncTaskLoader Maven / Gradle / Ivy

There is a newer version: 4.14
Show newest version
package org.robolectric.shadows;

import android.content.AsyncTaskLoader;
import org.robolectric.annotation.Implements;

/**
 * The shadow API for {@link AsyncTaskLoader}.
 *
 * Different shadow implementations will be used based on the current {@link LooperMode.Mode}.
 * @see ShadowLegacyAsyncTaskLoader, ShadowPausedAsyncTaskLoader
 */
@Implements(value = AsyncTaskLoader.class, shadowPicker = ShadowAsyncTaskLoader.Picker.class)
public abstract class ShadowAsyncTaskLoader {

  public static class Picker extends LooperShadowPicker {

    public Picker() {
      super(ShadowLegacyAsyncTaskLoader.class, ShadowPausedAsyncTaskLoader.class);
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy