Class LooperShadowPicker<T>

    • Constructor Detail

      • LooperShadowPicker

        public LooperShadowPicker​(Class<? extends T> legacyShadowClass,
                                  Class<? extends T> pausedShadowClass)
    • Method Detail

      • pickShadowClass

        public Class<? extends T> pickShadowClass()
        Description copied from interface: ShadowPicker
        Determines the shadow class to be used depending on the configuration of the org.robolectric.internal.Environment. Must be deterministic.
        Specified by:
        pickShadowClass in interface ShadowPicker<T>
        Returns:
        the shadow class to be used