vanniktech / Emoji

A library to add Emoji support to your Android / iOS / JVM Application
Apache License 2.0
1.53k stars 292 forks source link

why can't extend EmojiPopup , Why give up the power of Java #920

Closed SheTieJun closed 1 year ago

SheTieJun commented 1 year ago

some problems cannot be solved, if it can be extend, it should be solved very well. last use reflection solved.

vanniktech commented 1 year ago

Delegation is better than inheritance. Plus I want to limit the API. Feel free to use reflection though, it might break though.

SheTieJun commented 1 year ago

Delegation and inheritance do not conflict , Like Activity ,bottomSheetDailog. Limit EmojiPopup 's API ,~ en I think it is unnecessary behavior.