-
public interface MentionSuggestionsAdapterAdapter used to render mention suggestions.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetItems(List<User> items)Sets the list of user mention suggestions to be displayed. UnitsetMentions(List<Mention> items)Sets the heterogeneous mention suggestion list. abstract IntegergetItemCount()Returns the number of items in the adapter. -
-
Method Detail
-
setItems
abstract Unit setItems(List<User> items)
Sets the list of user mention suggestions to be displayed.
Kept for backward compatibility; only sees Mention.User entries. Override setMentions to also handle other mention types.
-
setMentions
Unit setMentions(List<Mention> items)
-
getItemCount
abstract Integer getItemCount()
Returns the number of items in the adapter.
-
-
-
-