rockerhieu / emojicon

A library to show emoji in TextView, EditText (like WhatsApp) for Android
Apache License 2.0
3.61k stars 818 forks source link

Convert TextViews used GridView to simple ImageViews #50

Open daniele-athome opened 9 years ago

daniele-athome commented 9 years ago

Shouldn't be more optimal to use plain ImageViews instead of the TextView approach? On medium to low end devices the emoji panel takes a lot to load (like ten seconds). Even on my Samsung I9100 it takes like 4-5 seconds to load. Before sending you a patch, I'd like to know if using TextView was a deliberate decision and, if that's the case, reasons why we can't use ImageView.

rockerhieu commented 9 years ago

I chose TextView as to keep the implementation simple and didn't pay much attention to the performance. If changing to ImageView help then sure, we should do that.