RecyclerViewAccessibilityDelegate

public class RecyclerViewAccessibilityDelegate
extends AccessibilityDelegateCompat

java.lang.Object
   ↳ 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

class RecyclerViewAccessibilityDelegate.ItemDelegate

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

Public constructors

RecyclerViewAccessibilityDelegate(RecyclerView recyclerView)

Public methods

AccessibilityDelegateCompat getItemDelegate()

Gets the AccessibilityDelegate for an individual item in the RecyclerView.

void onInitializeAccessibilityEvent(View host, AccessibilityEvent event)

Initializes an AccessibilityEvent with information about the the host View which is the event source.

void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info)

Initializes an AccessibilityNodeInfoCompat with information about the host view.

boolean performAccessibilityAction(View host, int action, Bundle args)

Performs the specified accessibility action on the view.

Inherited methods

Public constructors

RecyclerViewAccessibilityDelegate

public RecyclerViewAccessibilityDelegate (RecyclerView recyclerView)

Parameters
recyclerView RecyclerView