|
@@ -53,6 +53,7 @@ class LoginBView @JvmOverloads constructor(
|
|
|
|
|
|
private fun setupEmailLoginBtn() {
|
|
private fun setupEmailLoginBtn() {
|
|
view_loginB_emailLogin.setOnClickListener {
|
|
view_loginB_emailLogin.setOnClickListener {
|
|
|
|
+ view_loginB_emailLogin.isEnabled = false
|
|
val dialog = AlertDialog.Builder(context)
|
|
val dialog = AlertDialog.Builder(context)
|
|
.setView(view)
|
|
.setView(view)
|
|
.setOnDismissListener {
|
|
.setOnDismissListener {
|
|
@@ -62,6 +63,7 @@ class LoginBView @JvmOverloads constructor(
|
|
inputMethodManager.toggleSoftInput(InputMethodManager.HIDE_IMPLICIT_ONLY, 0)
|
|
inputMethodManager.toggleSoftInput(InputMethodManager.HIDE_IMPLICIT_ONLY, 0)
|
|
}
|
|
}
|
|
(view.parent as ViewGroup).removeAllViews()
|
|
(view.parent as ViewGroup).removeAllViews()
|
|
|
|
+ view_loginB_emailLogin.isEnabled = true
|
|
post {
|
|
post {
|
|
requestFocus()
|
|
requestFocus()
|
|
inputMethodManager.hideSoftInputFromWindow(windowToken, 0)
|
|
inputMethodManager.hideSoftInputFromWindow(windowToken, 0)
|