hbb20 / hbb20/CountryCodePickerProject

PhoneNumberValidityChangeListener not called when navigate back

未關閉
#421 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
1.5k
分支
509
PR 合併指標
30 天內沒有已合併 PR

描述

When navigate to another Fragment and then go back to phone Country Code selector fragment, not working phone formatter and phoneNumberValidatorChangeListener aren't call ever.

Set both on onViewCreated method:

```
layoutMobileFields.etPhoneCountryCode.setPhoneNumberValidityChangeListener
layoutMobileFields.etPhoneCountryCode.registerCarrierNumberEditText(layoutMobileFields.etPhoneNumber as EditText)
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

從 Fragment 的 onViewCreated 方法以及 issue 中所示的兩個 listener 和 registration 呼叫開始。重現離開並返回手機國碼選擇器的導覽流程,然後確認返回後電話格式化和 phoneNumberValidityChangeListener 回呼能夠正常運作。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
android, java
領域
mobile
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。