CollectionItemInfoCompat

Class with information if a node is a collection item.

A collection item is contained in a collection, it starts at a given row and column in the collection, and spans one or more rows and columns. For example, a header of two related table columns starts at the first row and the first column, spans one row and two columns.

Types

Link copied to clipboard
class Builder
Builder for creating CollectionItemInfoCompat objects.

Functions

Link copied to clipboard
open fun getColumnIndex(): Int
Gets the column index at which the item is located.
Link copied to clipboard
open fun getColumnSpan(): Int
Gets the number of columns the item spans.
Link copied to clipboard
Gets the column title at which the item is located.
Link copied to clipboard
open fun getRowIndex(): Int
Gets the row index at which the item is located.
Link copied to clipboard
open fun getRowSpan(): Int
Gets the number of rows the item spans.
Link copied to clipboard
Gets the row title at which the item is located.
Link copied to clipboard
open fun isHeading(): Boolean
Gets if the collection item is a heading.
Link copied to clipboard
open fun isSelected(): Boolean
Gets if the collection item is selected.
Link copied to clipboard
open fun obtain(rowIndex: Int, rowSpan: Int, columnIndex: Int, columnSpan: Int, heading: Boolean): AccessibilityNodeInfoCompat.CollectionItemInfoCompat
open fun obtain(rowIndex: Int, rowSpan: Int, columnIndex: Int, columnSpan: Int, heading: Boolean, selected: Boolean): AccessibilityNodeInfoCompat.CollectionItemInfoCompat
Returns a cached instance if such is available otherwise a new one.