Lucas Kivi
05/31/2023, 8:24 PMAlbert Chang
06/01/2023, 2:00 AMModifier.clearAndSetSemantics {}
on the element that you don't want TalkBack to announce.Lucas Kivi
06/01/2023, 2:01 AMAlbert Chang
06/01/2023, 2:04 AMLucas Kivi
06/01/2023, 2:07 AMzsperske
06/01/2023, 3:07 AMtraversalIndex
field in the Modifier.semantics
block. Maybe you can add some conditional logic to that modifier that will alter the focus order based on the index of the item in the list & the collapsed state. not sure how you’ll trigger the expand thoughzsperske
06/01/2023, 3:28 AMonFocusChanged
(if that triggers when talkback changes focus, I’m not sure)Lucas Kivi
06/01/2023, 2:08 PMonFocusChanged
is only updated when you focus on a component like a text entry, and not when it is focused for talkback but when it is focused for typing.Lucas Kivi
06/01/2023, 2:08 PMLucas Kivi
06/01/2023, 2:13 PMLucas Kivi
06/01/2023, 2:16 PMzsperske
06/01/2023, 5:55 PMfun Context.getEnabledAccessibilityServices(): List<AccessibilityServiceInfo> {
val accessibilityManager: AccessibilityManager =
getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager
return accessibilityManager.getEnabledAccessibilityServiceList(AccessibilityServiceInfo.FEEDBACK_ALL_MASK)
}
Lucas Kivi
06/01/2023, 6:09 PMUtkarsh Tiwari
04/19/2024, 4:40 PMLucas Kivi
04/19/2024, 4:44 PMLazyListState
. You can upvote this post if you so desire.
https://stackoverflow.com/q/76461364/12385518Utkarsh Tiwari
04/19/2024, 5:03 PM