Class ShadowLegacyLooper

java.lang.Object
org.robolectric.shadows.ShadowLooper
org.robolectric.shadows.ShadowLegacyLooper

@Implements(value=android.os.Looper.class,
            isInAndroidSdk=false)
public class ShadowLegacyLooper
extends ShadowLooper
The shadow Looper implementation for LooperMode.Mode.LEGACY.

Robolectric enqueues posted Runnables to be run (on this thread) later. Runnables that are scheduled to run immediately can be triggered by calling idle().

See Also:
ShadowMessageQueue