|
|
@ -14,6 +14,7 @@ import androidx.core.content.ContextCompat |
|
|
|
import com.android.base.interfaces.TextWatcherAdapter |
|
|
|
import com.android.base.interfaces.TextWatcherAdapter |
|
|
|
import com.google.android.material.textfield.TextInputLayout |
|
|
|
import com.google.android.material.textfield.TextInputLayout |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline fun TextView.textWatcher(init: KTextWatcher.() -> Unit) = addTextChangedListener(KTextWatcher().apply(init)) |
|
|
|
inline fun TextView.textWatcher(init: KTextWatcher.() -> Unit) = addTextChangedListener(KTextWatcher().apply(init)) |
|
|
|
|
|
|
|
|
|
|
|
class KTextWatcher : TextWatcher { |
|
|
|
class KTextWatcher : TextWatcher { |
|
|
|