joypixels/emojione

Generated Emojione.java is too large

Open

#516 创建于 2017年6月8日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)PHP (4,447 star) (569 fork)batch import
bughelp wanted

描述

Unfortunately with the current amount of emojis the generated Java file for Android is too large, and the compiler complains with the error: "code too large".

I'd suggest to change the way emojis are loaded, in a similar way emoji-java[1] library is doing, by loading a JSON file instead of a hardcoded HashMap.

[1] https://github.com/vdurmont/emoji-java

贡献者指南