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 authored Jan 3, 2024
1 parent 3201c46 commit a357272
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 a357272

Please sign in to comment.