This package is part of the
support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack.
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
The default implementation of accessibility delegate for the individual items of the
If you are overriding
RecyclerViewAccessibilityDelegate#getItemDelegate() but still
want to keep some default behavior, you can create an instance of this class and delegate to
the parent as necessary.
dispatchPopulateAccessibilityEvent( View host, AccessibilityEvent event)
to the host
first and then
to its children for adding their text content to the event.
getAccessibilityNodeProvider( View host)
Gets the provider for managing a virtual view hierarchy rooted at this View
and reported to
that explore the window content.
onInitializeAccessibilityEvent( View host, AccessibilityEvent event)
with information about the
the host View which is the event source.
onInitializeAccessibilityNodeInfo( View host, AccessibilityNodeInfoCompat info)
with information about the host view.
onPopulateAccessibilityEvent( View host, AccessibilityEvent event)
Gives a chance to the host View to populate the accessibility event with its
onRequestSendAccessibilityEvent( ViewGroup host, View child, AccessibilityEvent event)
Called when a child of the host View has requested sending an
and gives an opportunity to the parent (the host)
to augment the event.
performAccessibilityAction( View host, int action, Bundle args)
Performs the specified accessibility action on the view.
sendAccessibilityEvent( View host, int eventType)
Sends an accessibility event of the given type.
sendAccessibilityEventUnchecked( View host, AccessibilityEvent event)
Sends an accessibility event.