Interface AbsListView.SelectionBoundsAdjuster

All Known Implementing Classes:
ListMenuItemView
Enclosing class:
AbsListView

public static interface AbsListView.SelectionBoundsAdjuster
The top-level view of a list item can implement this interface to allow itself to modify the bounds of the selection shown for that item.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to allow the list item to adjust the bounds shown for its selection.
  • Method Details

    • adjustListItemSelectionBounds

      void adjustListItemSelectionBounds(Rect bounds)
      Called to allow the list item to adjust the bounds shown for its selection.
      Parameters:
      bounds - 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.