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!