Blankj / Blankj/AndroidUtilCode
软键盘收起后又弹出了
Aperta
bug
- Lingua principale
- Java
- Stelle
- 33.6k
- Fork
- 10.6k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
在业务中使用 showSoftInput(@NonNull final View view),切换键盘代码
```
if (!isShowEmojiPanel) {
KeyboardUtils.hideSoftInput(etMsgSend)
showEmojiFragment()
} else {
KeyboardUtils.showSoftInput(etMsgSend)
hideEmojiFragment()
}
isShowEmojiPanel = !isShowEmojiPanel
```
有一条路径必现软键盘收起后又弹出,查找是 imm.toggleSoftInput 导致,删除 imm.toggleSoftInput 这个代码后没问题了
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.