getColumnCountForAccessibility
open fun getColumnCountForAccessibility(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State): Int(source)
Returns the number of columns for accessibility.
Default implementation returns the number of items in the adapter if LayoutManager supports horizontal scrolling or 1 if LayoutManager does not support horizontal scrolling.
Return
The number of rows in LayoutManager for accessibility.
Parameters
recycler
The Recycler that can be used to convert view positions into adapter positions
state
The current state of RecyclerView