1209c37e24
Android 12 dynamic color usage on login screen
17 lines
283 B
Kotlin
17 lines
283 B
Kotlin
package com.meloda.fast.extensions
|
|
|
|
import android.widget.TextView
|
|
import com.google.android.material.textfield.TextInputLayout
|
|
|
|
object TextViewExtensions {
|
|
|
|
fun TextView.clear() {
|
|
text = ""
|
|
}
|
|
|
|
fun TextInputLayout.clear() {
|
|
editText?.setText("")
|
|
}
|
|
|
|
|
|
} |