Function

findViewByAccessibilityIdTraversal

This overrides an @hide method in ViewGroup.

findViewByAccessibilityIdTraversal

Source set: Android
fun findViewByAccessibilityIdTraversal(accessibilityId: Int): View?

This overrides an @hide method in ViewGroup. Because of the @hide, the override keyword cannot be used, but the override works anyway because the ViewGroup method is not final. In Android P and earlier, the call path is AccessibilityInteractionController#findViewByAccessibilityId -> View#findViewByAccessibilityId -> ViewGroup#findViewByAccessibilityIdTraversal. In Android Q and later, AccessibilityInteractionController#findViewByAccessibilityId uses AccessibilityNodeIdManager and findViewByAccessibilityIdTraversal is only used by autofill.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: