Skip to content

Commit

Permalink
Update detox/android/detox/src/main/java/com/wix/detox/espresso/scrol…
Browse files Browse the repository at this point in the history
…l/ScrollHelper.java

Co-authored-by: Asaf Korem <[email protected]>
  • Loading branch information
andrey-wix and asafkorem committed Jan 8, 2024
1 parent 73303f8 commit ccc0d89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public static void perform(UiController uiController, View view, @MotionDir int
* of the screen.)
*
* @param direction Direction to scroll (see {@link @MotionDir})
* @param startOffsetPercentX Percentage denoting where X-swipe should start, with respect to the scrollable view. Null means select automatically.
* @param startOffsetPercentY Percentage denoting where Y-swipe should start, with respect to the scrollable view. Null means select automatically.
* @param startOffsetPercentX Percentage denoting where the scroll should start from on the X-axis, with respect to the scrollable view. Null means select automatically.
* @param startOffsetPercentY Percentage denoting where the scroll should start from on the Y-axis, with respect to the scrollable view. Null means select automatically.
*/
public static void performOnce(UiController uiController, View view, @MotionDir int direction, Float startOffsetPercentX, Float startOffsetPercentY) throws ScrollEdgeException {
final int scrollableRangePx = getViewSafeScrollableRangePix(view, direction);
Expand Down

0 comments on commit ccc0d89

Please sign in to comment.