Skip to content

Conversation

cartland
Copy link
Contributor

The lint tool reported a UseKtx warning in StateBasedText.kt. The code was using the static 'TextUtils.isDigitsOnly()' method.

This commit refactors the code to use the more idiomatic and readable 'isDigitsOnly()' Kotlin extension function from the Android KTX library.

The lint tool reported a "UseKtx" warning in StateBasedText.kt.
The code was using the static `TextUtils.isDigitsOnly()` method.

This commit refactors the code to use the more idiomatic
`isDigitsOnly()` Kotlin extension function from the Android KTX library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants