Open Naguchennai opened 8 years ago
Will do soon
actually you can set a ClickListener to the EditText and inside it you can call emojIcon.closeEmojIcon();
There is a way to set pendingOpen
variable to false with reflection and solve this problem. Just call this method at the end of onCreateView
method:
private void disableAutoOpenEmoji(EmojIconActions emojActions) {
try {
Field field = emojActions.getClass().getDeclaredField("popup");
field.setAccessible(true);
EmojiconsPopup emojiconsPopup = (EmojiconsPopup) field.get(emojActions);
field = emojiconsPopup.getClass().getDeclaredField("pendingOpen");
field.setAccessible(true);
field.set(emojiconsPopup, false);
} catch (Exception exception) {...}
}
working well. But if emoji keybord open onclick edittext need open text keybord .. like whatsapp. right now i need click emoji buttton again... i think u got me??