Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 03da1e41b1a80255f502fe91b35e3e8f5c3af530
Author: Ralston Da Silva <ralu@google.com>
Date: Mon Jul 13 16:58:06 2020
Add Modifier.FocusObserver
Add a modifier that allows a parent composable to observe the focus state of it's child.
Bug: 160924455, 160923326
Relnote: Added a modifier to observe focus state change.
Test: Launched demo app
Change-Id: I05866104c323317f41f43ce1c286236b7e344d4b
M ui/ui-core/api/0.1.0-dev15.txt
M ui/ui-core/api/current.txt
M ui/ui-core/api/public_plus_experimental_0.1.0-dev15.txt
M ui/ui-core/api/public_plus_experimental_current.txt
M ui/ui-core/api/restricted_0.1.0-dev15.txt
M ui/ui-core/api/restricted_current.txt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/DelegatingLayoutNodeWrapper.kt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/InnerPlaceable.kt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/LayoutNode.kt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/LayoutNodeWrapper.kt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/focus/FocusModifier2.kt
A ui/ui-core/src/commonMain/kotlin/androidx/ui/core/focus/FocusObserverModifier.kt
A ui/ui-core/src/commonMain/kotlin/androidx/ui/core/focus/ModifiedFocusObserverNode.kt
https://android-review.googlesource.com/1362061
Branch: androidx-master-dev
commit 03da1e41b1a80255f502fe91b35e3e8f5c3af530
Author: Ralston Da Silva <ralu@google.com>
Date: Mon Jul 13 16:58:06 2020
Add Modifier.FocusObserver
Add a modifier that allows a parent composable to observe the focus state of it's child.
Bug: 160924455, 160923326
Relnote: Added a modifier to observe focus state change.
Test: Launched demo app
Change-Id: I05866104c323317f41f43ce1c286236b7e344d4b
M ui/ui-core/api/0.1.0-dev15.txt
M ui/ui-core/api/current.txt
M ui/ui-core/api/public_plus_experimental_0.1.0-dev15.txt
M ui/ui-core/api/public_plus_experimental_current.txt
M ui/ui-core/api/restricted_0.1.0-dev15.txt
M ui/ui-core/api/restricted_current.txt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/DelegatingLayoutNodeWrapper.kt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/InnerPlaceable.kt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/LayoutNode.kt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/LayoutNodeWrapper.kt
M ui/ui-core/src/commonMain/kotlin/androidx/ui/core/focus/FocusModifier2.kt
A ui/ui-core/src/commonMain/kotlin/androidx/ui/core/focus/FocusObserverModifier.kt
A ui/ui-core/src/commonMain/kotlin/androidx/ui/core/focus/ModifiedFocusObserverNode.kt
Description
Propagate focus state changes to all focus observers observing the current focus modifier.