public final class ListViewCompat
extends Object
java.lang.Object | |
android.support.v4.widget.ListViewCompat |
Helper用于访问在向后兼容的API级别4之后引入的 ListView
功能。
公共方法(Public methods) |
|
---|---|
static void |
scrollListBy(ListView listView, int y) 将视图中的列表项目按指定的像素数滚动。 |
继承方法(Inherited methods) |
|
---|---|
![]() java.lang.Object
|
void scrollListBy (ListView listView, int y)
将视图中的列表项目按指定的像素数滚动。
参数(Parameters) | |
---|---|
listView |
ListView : the list to scroll |
y |
int : the amount of pixels to scroll by vertically |