|
| SuggestionsAdapter (LayoutInflater inflater) |
|
void | addSuggestion (S r) |
|
void | setSuggestions (List< S > suggestions) |
|
void | clearSuggestions () |
|
void | deleteSuggestion (int position, S r) |
|
List< S > | getSuggestions () |
|
int | getMaxSuggestionsCount () |
|
void | setMaxSuggestionsCount (int maxSuggestionsCount) |
|
void | onBindViewHolder (V holder, int position) |
|
abstract void | onBindSuggestionHolder (S suggestion, V holder, int position) |
|
abstract int | getSingleViewHeight () |
|
int | getListHeight () |
|
int | getItemCount () |
|
Filter | getFilter () |
|
|
LayoutInflater | getLayoutInflater () |
|
|
List< S > | suggestions = new ArrayList<>() |
|
List< S > | suggestions_clone = new ArrayList<>() |
|
int | maxSuggestionsCount = 5 |
|
◆ getFilter()
Returns a filter that can be used to constrain data with a filtering pattern.
This method is usually implemented by Adapter classes.
- Returns
- a filter used to constrain data
◆ getSingleViewHeight()
Returns the height of single view item in list. Note that all views must have the same height
- Returns
- height
The documentation for this class was generated from the following file:
- /Users/harshpatel/Desktop/Appbase.io/android-searchbox/searchwidget/src/main/java/com/harsh/searchwidget/Adapter/SuggestionsAdapter.java