Status Update
Comments
an...@google.com <an...@google.com>
re...@gmail.com <re...@gmail.com> #2
Branch: androidx-main
commit cb1afd67dacbf14cd22206c6f5b543dbf18cec1f
Author: Tony Mak <tonymak@google.com>
Date: Thu Jan 06 14:52:58 2022
Deprecate all the APIs in textclassifier
Bug: 210509084
Test: Check api/current.txt and ensure all classes are deprecated
Relnote: "Deprecate all the APIs in the textclassifier module"
Change-Id: Idc18063196531c0e926162fefeadf2dc5f559da1
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/TextSelection.java
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/TextLinks.java
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/TextClassificationSessionId.java
M textclassifier/textclassifier/api/public_plus_experimental_current.txt
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/TextClassification.java
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/TextClassificationManager.java
M textclassifier/textclassifier/api/current.txt
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/TextClassificationContext.java
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/TextLinksParams.java
M textclassifier/textclassifier/api/restricted_current.txt
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/ConversationAction.java
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/TextClassifier.java
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/ConversationActions.java
M textclassifier/textclassifier/src/main/java/androidx/textclassifier/ExtrasUtils.java
mb...@gmail.com <mb...@gmail.com> #3
Is there any update when the alpha04 will be available? We need it to target api 31 because of the PendingIntent mutability flags missing in alpha03.
an...@google.com <an...@google.com> #4
I'll schedule it for the next release. Note that alpha04
is a complete turn-down of the library where all APIs are marked as Deprecated
, so you'll also want to start removing your usages of the library.
re...@gmail.com <re...@gmail.com> #5
Branch: androidx-main
commit 19ed7e69823a09f3c63f8c8cdf339af8ca1645ab
Author: Alan Viverette <alanv@google.com>
Date: Mon Mar 14 15:18:16 2022
Bump textclassifier for final release and turn-down
Bug: 210509084
Change-Id: Ib8b2386903bb49baa3211f7de7fe1587fdda1483
Test: ./gradlew checkApi
M libraryversions.toml
ma...@gmail.com <ma...@gmail.com> #6
Bugjuggler: wait until 2022-03-23
an...@google.com <an...@google.com> #7
ap...@google.com <ap...@google.com> #8
Is there a replacement or should we just abandon TextClassifier for android older than API Level 26 ?
fr...@hotmail.com <fr...@hotmail.com> #9
as...@gmail.com <as...@gmail.com> #10
Just want to say that ScrollLayoutModifier
still calls constraints.assertNotNestingScrollableContainers(isVertical)
every time from what I see.
This means putting a LazyList
composable in a scrollable layout will still cause a crash.
an...@google.com <an...@google.com> #11
Nesting scrollable in the same direction containers is still not allowed, it can't work efficiently.
What was done as part of this bug is now you can disable the scroll triggered by the user gestures for LazyColumn. LazyColumn is still scrollable, you can scroll it programmatically via the methods on LazyListState
vi...@gmail.com <vi...@gmail.com> #12
an...@google.com <an...@google.com> #13
af...@gmail.com <af...@gmail.com> #14
Could we please also add support to ignore hardware arrow keys when userScrollEnabled
is set to false?
an...@google.com <an...@google.com> #15
Could you please file a separate feature request? Thanks
ma...@gmail.com <ma...@gmail.com> #16
userScrollEnabled
does not appear to work as described. It will still eat scroll events, preventing them from reaching composables behind it.
Here is a demo composable:
Box {
LazyRow() {
items(20) {
Box(
Modifier
.size(200.dp, 200.dp)
.padding(end = 32.dp)
.background(Color.Green))
}
}
LazyRow(modifier = Modifier.padding(top = 100.dp), userScrollEnabled = false) {
items(20) {
Box(
Modifier
.size(200.dp, 200.dp)
.padding(end = 32.dp)
.background(Color.Red.copy(alpha = 0.5f)))
}
}
}
With compose 1.2.0-alpha07
, you cannot scroll the top list by scrolling in the middle (where bottom list overlaps it), even though bottom list has scroll disabled.
Description
I need possibility to disable
LazyColumn
scrolling, and scroll it programmatically, like to sync it with some other scrollable view.scrollable
modifier hasenabled
parameter, and asLazyList
is using it underneath, it should be quite simple to add same parameter toLazyColumn
andLazyRow
.