Status Update
Comments
jo...@google.com <jo...@google.com> #2
@mount can you give an update on why these APIs are experimental and what would be the plan for them going forward?
mo...@google.com <mo...@google.com> #3
I have been assigned to progressive back, so any Compose work that depends on me has been pushed back.
I'm not sure we should support pointerInteropFilter
as a public API. We have another API that could be a better candidate for public consumption, motionEventSpy
. This needs some discussion.
RequestDisallowInterceptTouchEvent
would disappear if we don't support pointerInteropFilter
.
I think that getShareWithSiblings
can be made public at this point.
Reassigning to jewalker@
je...@google.com <je...@google.com> #4
@Jolanda, I created two lists after talking with George (details below). Some of them we hope to deprecate instead.
If the ones you are asking about are in the deprecation list, please let me know the use case. Thanks!
Mark as non-experimental:
getShareWithSiblings
motionEvenSpy
- related one for gettingMotionEvent
if needed
Deprecate:
pointerInteropFilter
- We want devs using 'pointerInput' or, if they need to see aMotionEvent
,motionEvenSpy
RequestDisallowInterceptTouchEvent
- Related to the one above, so it would go with it.
jo...@google.com <jo...@google.com> #5
This looks good! I haven't used these functions, but was looking into input and just wondered about the status.
ap...@google.com <ap...@google.com> #6
Branch: androidx-main
commit b49dbe441ba3487bd1cbbc045d2107474589ecd4
Author: Jeremy Walker <jewalker@google.com>
Date: Fri Mar 17 14:02:35 2023
Removes experiemental from PointerInputChange.
Bug: 261560988, 261565762, 261565749
Test: Ran existing tests.
Relnote: Changes experimental APIs to stable in PointerInputChange.
Change-Id: I1b5430f6bece9ee985a2a45b820dd5e5334832ec
M compose/ui/ui/api/current.txt
M compose/ui/ui/api/public_plus_experimental_current.txt
M compose/ui/ui/api/restricted_current.txt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/input/pointer/PointerEvent.kt
ap...@google.com <ap...@google.com> #7
Branch: androidx-main
commit d922bf1dc2e5a0a2004291a8e96e6075737ab9b9
Author: Jeremy Walker <jewalker@google.com>
Date: Wed Mar 29 14:58:19 2023
Moves motionEventSpy to stable.
Test: Uses existing tests:
Bug: 261560988
Relnote: Changes motionEventSpy to stable.
Change-Id: Ic5ec4ef446908ae7fca45c5d3c6c816b61a8029f
M compose/ui/ui/api/current.txt
M compose/ui/ui/api/public_plus_experimental_current.txt
M compose/ui/ui/api/restricted_current.txt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/input/pointer/PointerInteropFilter.android.kt
je...@google.com <je...@google.com> #8
All items that were marked to be stable are now in the latest alpha.
I'm still working through deprecating the other ones, but that should cover the main focus of this bug.
Description
The following Experimental APIs have existed for several releases.
Please consider stabilising or removing these APIs: