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

貢獻者指南