RecyclerViewAccessibilityDelegate

open class RecyclerViewAccessibilityDelegate : AccessibilityDelegateCompat
kotlin.Any
   ↳ androidx.core.view.AccessibilityDelegateCompat
   ↳ androidx.recyclerview.widget.RecyclerViewAccessibilityDelegate

The AccessibilityDelegate used by RecyclerView.

This class handles basic accessibility actions and delegates them to LayoutManager.

Summary

Nested classes
open

The default implementation of accessibility delegate for the individual items of the RecyclerView.

Public constructors
<init>(@NonNull recyclerView: RecyclerView)

Public methods
open AccessibilityDelegateCompat

Gets the AccessibilityDelegate for an individual item in the RecyclerView.

open Boolean
performAccessibilityAction(host: View!, action: Int, args: Bundle!)

open Unit

open Unit

Inherited functions

Public constructors

<init>

RecyclerViewAccessibilityDelegate(@NonNull recyclerView: RecyclerView)

Public methods

getItemDelegate

@NonNull open fun getItemDelegate(): AccessibilityDelegateCompat

Gets the AccessibilityDelegate for an individual item in the RecyclerView. A basic item delegate is provided by default, but you can override this method to provide a custom per-item delegate.

performAccessibilityAction

open fun performAccessibilityAction(host: View!, action: Int, args: Bundle!): Boolean

onInitializeAccessibilityEvent

open fun onInitializeAccessibilityEvent(host: View!, event: AccessibilityEvent!): Unit

onInitializeAccessibilityNodeInfo

open fun onInitializeAccessibilityNodeInfo(host: View!, info: AccessibilityNodeInfoCompat!): Unit