@Override public boolean flingBackward(Selector obj,boolean isVertical) throws UiObjectNotFoundException {
  UiScrollable scrollable=new UiScrollable(obj.toUiSelector());
  if (isVertical)   scrollable.setAsVerticalList();
 else   scrollable.setAsHorizontalList();
  return scrollable.flingBackward();
}

@ Override public boolean flingBackward ( Selector obj , boolean isVertical ) throws UiObjectNotFoundException { UiScrollable scrollable = new UiScrollable ( obj . toUiSelector ( ) ) ; if ( isVertical ) scrollable . setAsVerticalList ( ) ; else scrollable . setAsHorizontalList ( ) ; return scrollable . flingBackward ( ) ; }
performs a backwards fling action with the default number of fling steps ( 5 ) . if the swipe direction is set to vertical , then the swipe will be performed from top to bottom . if the swipe direction is set to horizontal , then the swipes will be performed from left to right . make sure to take into account devices configured with right - to - left languages like arabic and hebrew .
