There is something wrong with this routine as keyboard close event is continuously fired
tusharuit25 opened this issue · 0 comments
tusharuit25 commented
this.popup.setOnSoftKeyboardOpenCloseListener(new
OnSoftKeyboardOpenCloseListener() {
public void onKeyboardOpen(int keyBoardHeight) {
if(EmojIconActions.this.keyboardListener != null) {
EmojIconActions.this.keyboardListener.onKeyboardOpen();
}
}
public void onKeyboardClose() {
if(EmojIconActions.this.keyboardListener != null) {
EmojIconActions.this.keyboardListener.onKeyboardClose();
}
if(EmojIconActions.this.popup.isShowing()) {
EmojIconActions.this.popup.dismiss();
}
}
});`