Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 5fa80e3abc91c2302c4c488b7296cf39a5af9b9f
Author: Matvei Malkov <malkov@google.com>
Date: Thu Feb 11 14:07:45 2021
Small foundation API adjustments.
Added onStart in `detectDragGesture` for consistency with `detectDragGestureAfterLongPress` and with `draggable` itself.
Moved ClickableText to foundation.text to be together with other text primitives
Change-Id: I6726950322c7a3390fc79c630919b002bf7059eb
Relnote: onStart callback has been added to `detectDragGestures`
Relnote: Clickable text moved from `foundation` package to `foundation.text`
Bug: 179995594
Test: added for onStart
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/InteractiveText.kt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/ClickableTextSample.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/ClickableTextTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/ClickableText.kt
M compose/foundation/foundation/src/test/kotlin/androidx/compose/foundation/gestures/DragGestureDetectorTest.kt
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/window/PopupDismissTest.kt
https://android-review.googlesource.com/1584849
Branch: androidx-main
commit 5fa80e3abc91c2302c4c488b7296cf39a5af9b9f
Author: Matvei Malkov <malkov@google.com>
Date: Thu Feb 11 14:07:45 2021
Small foundation API adjustments.
Added onStart in `detectDragGesture` for consistency with `detectDragGestureAfterLongPress` and with `draggable` itself.
Moved ClickableText to foundation.text to be together with other text primitives
Change-Id: I6726950322c7a3390fc79c630919b002bf7059eb
Relnote: onStart callback has been added to `detectDragGestures`
Relnote: Clickable text moved from `foundation` package to `foundation.text`
Bug: 179995594
Test: added for onStart
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/InteractiveText.kt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/ClickableTextSample.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/ClickableTextTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/ClickableText.kt
M compose/foundation/foundation/src/test/kotlin/androidx/compose/foundation/gestures/DragGestureDetectorTest.kt
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/window/PopupDismissTest.kt
Description
WE need to do a cleanup with packages and methods to ensure consistency