androidx
Ztiany 5 years ago
parent 670081087e
commit 7b9fc382dc
  1. 1
      lib_base/src/main/java/com/android/base/app/fragment/Fragments.kt
  2. 1
      lib_base/src/main/java/com/android/base/utils/android/views/TextViewEx.kt

@ -351,7 +351,6 @@ class EnhanceFragmentTransaction constructor(
} }
} }
@Suppress
fun setOpeningTransition(): FragmentTransaction { fun setOpeningTransition(): FragmentTransaction {
return fragmentTransaction.setTransition(TRANSIT_FRAGMENT_OPEN) return fragmentTransaction.setTransition(TRANSIT_FRAGMENT_OPEN)
} }

@ -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 {

Loading…
Cancel
Save