Class LocalControlledLooper

  • All Implemented Interfaces:
    androidx.test.internal.platform.os.ControlledLooper

    public class LocalControlledLooper
    extends Object
    implements androidx.test.internal.platform.os.ControlledLooper
    A Robolectric implementation for ControlledLooper.
    • Constructor Detail

      • LocalControlledLooper

        public LocalControlledLooper()
    • Method Detail

      • drainMainThreadUntilIdle

        public void drainMainThreadUntilIdle()
        Specified by:
        drainMainThreadUntilIdle in interface androidx.test.internal.platform.os.ControlledLooper
      • simulateWindowFocus

        public void simulateWindowFocus​(View decorView)
        Specified by:
        simulateWindowFocus in interface androidx.test.internal.platform.os.ControlledLooper