-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #47525 This API is awkward for nullsafe code. Adding an extension allows Kotlin code to use `applyTextTransform()` on either nullable or non-null strings: ``` val a: String = string.applyTextTransform(...) val b: String? = nullableString?.applyTextTransform(...) ``` Changelog: [Android][Added] TextTransform ktx Reviewed By: javache Differential Revision: D65618709 fbshipit-source-id: 28a0fe61a0eaf27aa9677af39d932982f3b694b2
- Loading branch information
1 parent
34c157f
commit 7794d7a
Showing
2 changed files
with
18 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters