更新时间:2022-12-11 13:35:36
好,我设法通过使用这个lib来解决了这个问题
Ok i managed to solve this issue by using this lib
https://github.com/vdurmont/emoji-java
那里是一个isEmoji(string)
in there , there is a isEmoji(string)
String currentTextStr = currentText.toString().substring(currentText.length() - 2);
Log.e("emojicon",""+EmojiManager.isEmoji(currentTextStr));