Package org.robolectric.shadows
Class LooperShadowPicker<T>
java.lang.Object
org.robolectric.shadows.LooperShadowPicker<T>
- All Implemented Interfaces:
ShadowPicker<T>
- Direct Known Subclasses:
ShadowAsyncTask.Picker,ShadowAsyncTaskLoader.Picker,ShadowChoreographer.Picker,ShadowLooper.Picker,ShadowMessage.Picker,ShadowMessageQueue.Picker,ShadowSystemClock.Picker
-
Constructor Summary
ConstructorsConstructorDescriptionLooperShadowPicker(Class<? extends T> legacyShadowClass, Class<? extends T> pausedShadowClass) -
Method Summary
Modifier and TypeMethodDescriptionDetermines the shadow class to be used depending on the configuration of the.invalid reference
org.robolectric.internal.Environment
-
Constructor Details
-
LooperShadowPicker
-
-
Method Details
-
pickShadowClass
Description copied from interface:ShadowPickerDetermines the shadow class to be used depending on the configuration of the. Must be deterministic.invalid reference
org.robolectric.internal.Environment- Specified by:
pickShadowClassin interfaceShadowPicker<T>- Returns:
- the shadow class to be used
-