We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Like the extension function, we can add extension property.
val EditText.trimmedValue: String get() = text.toString().trim()
Uses:
findViewById<EditText>(R.id.edit_text).trimmedValue