diff --git a/lib_base/src/main/java/com/android/base/app/fragment/Fragments.kt b/lib_base/src/main/java/com/android/base/app/fragment/Fragments.kt index 80ea785..b3887a9 100644 --- a/lib_base/src/main/java/com/android/base/app/fragment/Fragments.kt +++ b/lib_base/src/main/java/com/android/base/app/fragment/Fragments.kt @@ -351,7 +351,6 @@ class EnhanceFragmentTransaction constructor( } } - @Suppress fun setOpeningTransition(): FragmentTransaction { return fragmentTransaction.setTransition(TRANSIT_FRAGMENT_OPEN) } diff --git a/lib_base/src/main/java/com/android/base/utils/android/views/TextViewEx.kt b/lib_base/src/main/java/com/android/base/utils/android/views/TextViewEx.kt index 6e32545..dc7fbcc 100644 --- a/lib_base/src/main/java/com/android/base/utils/android/views/TextViewEx.kt +++ b/lib_base/src/main/java/com/android/base/utils/android/views/TextViewEx.kt @@ -14,6 +14,7 @@ import androidx.core.content.ContextCompat import com.android.base.interfaces.TextWatcherAdapter import com.google.android.material.textfield.TextInputLayout + inline fun TextView.textWatcher(init: KTextWatcher.() -> Unit) = addTextChangedListener(KTextWatcher().apply(init)) class KTextWatcher : TextWatcher {