Most visited

Recently visited

Added in API level 11

AbsListView.SelectionBoundsAdjuster

public static interface AbsListView.SelectionBoundsAdjuster

android.widget.AbsListView.SelectionBoundsAdjuster


列表项的顶层视图可以实现此接口,以允许自己修改为该项显示的选择范围。

Summary

Public methods

abstract void adjustListItemSelectionBounds(Rect bounds)

被调用以允许列表项目调整显示的选择范围。

Public methods

adjustListItemSelectionBounds

Added in API level 11
void adjustListItemSelectionBounds (Rect bounds)

被调用以允许列表项目调整显示的选择范围。

Parameters
bounds Rect: On call, this contains the bounds the list has selected for the item (that is the bounds of the entire view). The values can be modified as desired.

Hooray!