obtain

open fun obtain(rowIndex: Int, rowSpan: Int, columnIndex: Int, columnSpan: Int, heading: Boolean, selected: Boolean): AccessibilityNodeInfoCompat.CollectionItemInfoCompat(source)

Returns a cached instance if such is available otherwise a new one.

Return

An instance.

Parameters

rowIndex

The row index at which the item is located.

rowSpan

The number of rows the item spans.

columnIndex

The column index at which the item is located.

columnSpan

The number of columns the item spans.

heading

Whether the item is a heading. This should be set to false and the newer setHeading used to identify headings.

selected

Whether the item is selected.


open fun obtain(rowIndex: Int, rowSpan: Int, columnIndex: Int, columnSpan: Int, heading: Boolean): AccessibilityNodeInfoCompat.CollectionItemInfoCompat(source)

Returns a cached instance if such is available otherwise a new one.

Return

An instance.

Parameters

rowIndex

The row index at which the item is located.

rowSpan

The number of rows the item spans.

columnIndex

The column index at which the item is located.

columnSpan

The number of columns the item spans.

heading

Whether the item is a heading. This should be set to false and the newer setHeading used to identify headings.