RecentEmojiProvider
public interface RecentEmojiProvider
RecentEmojiProviderAdapter |
An adapter for the |
An interface to provide recent emoji list.
Summary
Public methods |
|
|---|---|
abstract @NonNull List<@NonNull String> |
Returns a list of recent emojis. |
abstract void |
recordSelection(@NonNull String emoji)Records an emoji into recent emoji list. |
Public methods
getRecentEmojiList
abstract @NonNull List<@NonNull String> getRecentEmojiList()
Returns a list of recent emojis. Default behavior: The most recently used emojis will be displayed first. Clients could also specify the behavior such as displaying the emojis from high click frequency to low click frequency.
recordSelection
abstract void recordSelection(@NonNull String emoji)
Records an emoji into recent emoji list. This fun will be called when an emoji is selected. Clients could specify the behavior to record recently used emojis.(e.g. click frequency).