什么参数指示方法public void onScroll(AbsListView视图,int firstVisibleItem,int visibleItemCount,int totalItemCount)'

时间:2012-06-28 12:02:23

标签: android

实际上我需要在我的应用程序中使用onscrolllistener,但我无法理解参数是否在方法public void onScroll(AbsListView视图,int firstVisibleItem,int visibleItemCount,int totalItemCount)中指示,请帮帮我

1 个答案:

答案 0 :(得分:0)

请检查document,您可以轻松了解所有这些参数。

即使在这里我用我的语言解释。

view : View for which we implemented this listener

firstVisibleItem : Index of very first visible row/cell at a time

visibleItemCount : Total number of visible rows/cells

totalItemCount : Total number of items in the list adapter