robotium_robotium使用基础_robotium api(23)

电脑杂谈  发布时间:2017-03-14 21:02:58  来源:网络整理
public void scrollListToLine(android.widget.AbsListView absListView,                             int line)
Scroll the specified AbsListView to the specified line。Parameters:absListView - the AbsListView to scrollline - the line to scroll toscrollListToLine
public void scrollListToLine(int index,                             int line)
Scroll a AbsListView matching the specified index to the specified line。Parameters:index - the index of the AbsListView to scrollline - the line to scroll toscrollToSide
public void scrollToSide(int side,                         float scrollPosition,                         int stepCount)
Scrolls horizontally。

Parameters:side - the side to scroll; RIGHT or LEFTscrollPosition - the position to scroll to, from 0 to 1 where 1 is all the way。 Example is: 0。60stepCount - how many move steps to include in the scroll。 Less steps results in a faster scrollscrollToSide

public void scrollToSide(int side,                         float scrollPosition)
Scrolls horizontally。Parameters:side - the side to scroll; RIGHT or LEFTscrollPosition - the position to scroll to, from 0 to 1 where 1 is all the way。 Example is: 0。60scrollToSide
public void scrollToSide(int side)
Scrolls horizontally。Parameters:side - the side to scroll; RIGHT or LEFTscrollViewToSide
public void scrollViewToSide(android.view.View view,                             int side,                             float scrollPosition,                             int stepCount)
Scrolls a View horizontally。


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-37529-23.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 刘阳阳
      刘阳阳

      别忘了中国的军舰也去过人家海域

    • 夏翠杰
      夏翠杰

      别说优秀的男性

    • 赵晶晶
      赵晶晶

      俺们那厂子就垮掉了呀

    热点图片
    拼命载入中...