Most visited

Recently visited

ListViewCompat

public final class ListViewCompat
extends Object

java.lang.Object
    android.support.v4.widget.ListViewCompat


Helper用于访问在向后兼容的API级别4之后引入的 ListView功能。

摘要(Summary)

公共方法(Public methods)

static void scrollListBy(ListView listView, int y)

将视图中的列表项目按指定的像素数滚动。

继承方法(Inherited methods)

From class java.lang.Object

公共方法(Public methods)

scrollListBy

void scrollListBy (ListView listView, 
                int y)

将视图中的列表项目按指定的像素数滚动。

参数(Parameters)
listView ListView: the list to scroll
y int: the amount of pixels to scroll by vertically

Hooray!