-
- All Implemented Interfaces:
-
com.wix.detox.espresso.scroll.DetoxSwiper
public final class FlinglessSwiper implements DetoxSwiper
A detox-swiper that, given the total expected motions, tries to swipe fast and yet avoid an undesired fling, typically triggered at the end of a swipe motion over scrollable views. It mostly relies on ViewConfiguration.getScaledMinimumFlingVelocity (i.e. tries to keep swiping below that velocity, at least at the end).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
FlinglessSwiper.Companion
-
Constructor Summary
Constructors Constructor Description FlinglessSwiper(Integer expectedMotions, UiController uiController, ViewConfiguration viewConfig, MotionEvents motionEvents)
FlinglessSwiper(Integer expectedMotions, UiController uiController, ViewConfiguration viewConfig)
-
Method Summary
-
-
Constructor Detail
-
FlinglessSwiper
FlinglessSwiper(Integer expectedMotions, UiController uiController, ViewConfiguration viewConfig, MotionEvents motionEvents)
-
FlinglessSwiper
FlinglessSwiper(Integer expectedMotions, UiController uiController, ViewConfiguration viewConfig)
-
-
-
-