Textclassifier
Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |
---|---|---|---|---|
March 23, 2022 | - | - | - | 1.0.0-alpha04 |
Declaring dependencies
To add a dependency on TextClassifier, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle
file for
your app or module:
Groovy
dependencies { implementation "androidx.textclassifier:textclassifier:1.0.0-alpha04" }
Kotlin
dependencies { implementation("androidx.textclassifier:textclassifier:1.0.0-alpha04") }
For more information about dependencies, see Add build dependencies.
Feedback
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.
Version 1.0.0
Version 1.0.0-alpha04
March 23, 2022
androidx.textclassifier:textclassifier:1.0.0-alpha04
is released. Version 1.0.0-alpha04 contains these commits.
API Changes
- Deprecate all the APIs in the textclassifier module (Idc180, b/210509084)
Bug Fixes
- API lint check for
MissingGetterMatchingBuilder
is enabled for androidx (I4bbea, b/138602561) AppCompatRatingBar
PNG drawables have been replaced with vector sources. This may cause slight changes in the visual appearance of individual stars. (I6b99d)
TextClassifier Version 1.0.0-alpha03
January 22, 2020
androidx.textclassifier:textclassifier:1.0.0-alpha03
is released. Version 1.0.0-alpha03 contains these commits.
New features
API changes
setIncludeDefaultEntityTypes
has been renamed toincludeTypesFromTextClassifier
setIncludedEntityTypes
has been renamed tosetIncludedTypes
setExcludedEntityTypes
has been renamed tosetExcludedTypes
Bug fixes
Version 1.0.0-alpha02
February 7, 2019
androidx.textclassifier 1.0.0-alpha02
is released.
API changes
TextLinks.TextLink.getEntityType
replacesTextLinks.TextLink.getEntity
TextLinks.TextLink.getEntityTypeCount
replacesTextLinks.TextLink.getEntityCount
TextSelection.getEntityType
replacesTextSelection.getEntity
TextSelection.getEntityTypeCount
replaces `TextSelection.getEntityCount
Bug fixes
- Fix a memory leak issue in AndroidX TextClassificationManager. (aosp/887354)
- Floating Toolbar: Handle TextView position changes. (aosp/877713)
Version 1.0.0-alpha01
December 3, 2018
This is the first
refactoring of TextClassifier
to androidx
. This release backports
(android.view.textclassifier.TextClassifier
)[/reference/android/view/textclassifier/TextClassifier]
features, particularly Smart Linkify, back to API 14.