ShadowPicker<T>
ShadowAsyncTask.Picker
, ShadowAsyncTaskLoader.Picker
, ShadowAsyncTaskLoader.Picker
, ShadowChoreographer.Picker
, ShadowLooper.Picker
, ShadowMessage.Picker
, ShadowMessageQueue.Picker
, ShadowSystemClock.Picker
public class LooperShadowPicker<T> extends Object implements ShadowPicker<T>
Constructor | Description |
---|---|
LooperShadowPicker(Class<? extends T> legacyShadowClass,
Class<? extends T> pausedShadowClass) |
Modifier and Type | Method | Description |
---|---|---|
Class<? extends T> |
pickShadowClass() |
Determines the shadow class to be used depending on the configuration of the
org.robolectric.internal.Environment . |
public Class<? extends T> pickShadowClass()
ShadowPicker
org.robolectric.internal.Environment
. Must be deterministic.pickShadowClass
in interface ShadowPicker<T>