-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.common.actions.BaseActions
public interface ViewPagerActions implements BaseActions
-
-
Method Summary
Modifier and Type Method Description UnitswipeLeft()Swipes left on the view UnitswipeRight()Swipes right on the view UnitscrollLeft(Boolean smoothScroll)Moves <code>ViewPager</code> to the left be one page. UnitscrollRight(Boolean smoothScroll)Moves <code>ViewPager</code> to the right be one page. UnitscrollToFirst(Boolean smoothScroll)Moves <code>ViewPager</code> to the first page. UnitscrollToLast(Boolean smoothScroll)Moves <code>ViewPager</code> to the last page. UnitscrollToPage(Integer page, Boolean smoothScroll)Moves <code>ViewPager</code> to a specific page. UnitclickBetweenTwoTitles(String title1, String title2)Clicks between two titles in a <code>ViewPager</code> title strip abstract ViewInteractionDelegategetView()-
-
Method Detail
-
swipeLeft
@Deprecated(message = Use scrollRight(), replaceWith = @ReplaceWith(imports = {}, expression = scrollRight())) Unit swipeLeft()
Swipes left on the view
-
swipeRight
@Deprecated(message = Use scrollLeft(), replaceWith = @ReplaceWith(imports = {}, expression = scrollLeft())) Unit swipeRight()
Swipes right on the view
-
scrollLeft
Unit scrollLeft(Boolean smoothScroll)
Moves <code>ViewPager</code> to the left be one page.
-
scrollRight
Unit scrollRight(Boolean smoothScroll)
Moves <code>ViewPager</code> to the right be one page.
-
scrollToFirst
Unit scrollToFirst(Boolean smoothScroll)
Moves <code>ViewPager</code> to the first page.
-
scrollToLast
Unit scrollToLast(Boolean smoothScroll)
Moves <code>ViewPager</code> to the last page.
-
scrollToPage
Unit scrollToPage(Integer page, Boolean smoothScroll)
Moves <code>ViewPager</code> to a specific page.
-
clickBetweenTwoTitles
Unit clickBetweenTwoTitles(String title1, String title2)
Clicks between two titles in a <code>ViewPager</code> title strip
-
getView
abstract ViewInteractionDelegate getView()
-
-
-
-