You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the EmojiLabel class gets initialized with the desired text and does not contain any mechanism for updating it.
The rendering logic can be broken out to an internal function called by init, and then be called from a text property setter as well.
An offshoot of this might be some kind of internal Bitmap cache that can store the recently used images so they can be re-used without having to read the file and load it again. Maybe the user could enable / disable it and use it when it makes sense for a given project based on repeated characters or emoji appearing in the text they are using vs. always being different.
The text was updated successfully, but these errors were encountered:
Right now the EmojiLabel class gets initialized with the desired text and does not contain any mechanism for updating it.
The rendering logic can be broken out to an internal function called by init, and then be called from a
text
property setter as well.An offshoot of this might be some kind of internal Bitmap cache that can store the recently used images so they can be re-used without having to read the file and load it again. Maybe the user could enable / disable it and use it when it makes sense for a given project based on repeated characters or emoji appearing in the text they are using vs. always being different.
The text was updated successfully, but these errors were encountered: