obtain
open fun obtain(rowCount: Int, columnCount: Int, hierarchical: Boolean, selectionMode: Int): AccessibilityNodeInfoCompat.CollectionInfoCompat(source)
Returns a cached instance if such is available otherwise a new one.
Return
An instance.
Parameters
rowCount
The number of rows.
columnCount
The number of columns.
hierarchical
Whether the collection is hierarchical.
selectionMode
The collection's selection mode, one of:
open fun obtain(rowCount: Int, columnCount: Int, hierarchical: Boolean): AccessibilityNodeInfoCompat.CollectionInfoCompat(source)
Returns a cached instance if such is available otherwise a new one.
Return
An instance.
Parameters
rowCount
The number of rows, or -1 if count is unknown.
columnCount
The number of columns , or -1 if count is unknown.
hierarchical
Whether the collection is hierarchical.