Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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 Unit

open Unit

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

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. For now, returning an AccessibilityDelegateCompat as opposed to an ItemDelegate will prevent use of the ViewCompat accessibility API on item views.

onInitializeAccessibilityEvent

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

onInitializeAccessibilityNodeInfo

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

performAccessibilityAction

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