Most visited

Recently visited

ListViewCompat

public final class ListViewCompat
extends Object

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


Helper for accessing features in ListView introduced after API level 4 in a backwards compatible fashion.

Summary

Public methods

static void scrollListBy(ListView listView, int y)

Scrolls the list items within the view by a specified number of pixels.

Inherited methods

From class java.lang.Object

Public methods

scrollListBy

void scrollListBy (ListView listView, 
                int y)

Scrolls the list items within the view by a specified number of pixels.

Parameters
listView ListView: the list to scroll
y int: the amount of pixels to scroll by vertically

Hooray!