Skip to content

Opening emoticons, and change the keybord #57

Closed
@Andrzej1991

Description

Whenever i open the emoticons with button and change to keybord and hide it (call method dismiss();) i lost focus to rootView so then i can open emoticonsSelect but i no have a the rootView
This open:

private void showEmoticon() {
imageEmoticonButton.setOnClickListener(new View.OnClickListener() {
@OverRide
public void onClick(View v) {
emojiPopup.toggle();
}
});
}

i setup on OnCreateView (fragment)

private void setUpEmojiPopup() {
emojiPopup = EmojiPopup.Builder.fromRootView(sendPanel).setOnEmojiBackspaceClickListener(new OnEmojiBackspaceClickListener() {
@OverRide
public void onEmojiBackspaceClicked(final View v) {
}
}).setOnEmojiClickedListener(new OnEmojiClickedListener() {
@OverRide
public void onEmojiClicked(final Emoji emoji) {
}
}).setOnEmojiPopupShownListener(new OnEmojiPopupShownListener() {
@OverRide
public void onEmojiPopupShown() {
// imageEmoticonButton.setEnabled(false);
}
}).setOnSoftKeyboardOpenListener(new OnSoftKeyboardOpenListener() {
@OverRide
public void onKeyboardOpen(final int keyBoardHeight) {
// emojiPopup.dismiss();
}
}).setOnEmojiPopupDismissListener(new OnEmojiPopupDismissListener() {
@OverRide
public void onEmojiPopupDismiss() {
}
}).setOnSoftKeyboardCloseListener(new OnSoftKeyboardCloseListener() {
@OverRide
public void onKeyboardClose() {
emojiPopup.dismiss();
}
}).build(messageBox);
}

Activity

Andrzej1991

Andrzej1991 commented on Sep 6, 2016

@Andrzej1991
Author

I see other issue like this on closed issues. I try to help you resolve it. also pls look on Dismiss method. this method remove global root.

vanniktech

vanniktech commented on Sep 7, 2016

@vanniktech
Owner

Does the sample work for you?

Andrzej1991

Andrzej1991 commented on Sep 8, 2016

@Andrzej1991
Author

nope. I use now version 2.0 and its work 3.0 doesnt work

vanniktech

vanniktech commented on Sep 8, 2016

@vanniktech
Owner

Alright that's good to know does 0.2.0 work for you on all devices?

Andrzej1991

Andrzej1991 commented on Sep 8, 2016

@Andrzej1991
Author

Yea, i try on Huawei P9, Samsung Galaxy S5, S4, and on Sony xperia Z1, also on nexus emulator

vanniktech

vanniktech commented on Sep 8, 2016

@vanniktech
Owner

Alright I'll try to see what changed between the versions in the next few days if I find some time for it.

vanniktech

vanniktech commented on Nov 19, 2016

@vanniktech
Owner

I'll close this as this should be fixed with 0.4.0-SNAPSHOT. If it isn't please create / reopen the issue. I'll cut a release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Opening emoticons, and change the keybord · Issue #57 · vanniktech/Emoji