public interface AutocompleteCallback<T>
Autocomplete.Builder.| Modifier and Type | Method and Description |
|---|---|
boolean |
onPopupItemClicked(android.text.Editable editable,
T item)
Called when an item inside your list is clicked.
|
void |
onPopupVisibilityChanged(boolean shown)
Called when popup visibility state changes.
|
boolean onPopupItemClicked(android.text.Editable editable,
T item)
editable.append(item.toString()).editable - editable text that you can work onitem - item that was clickedvoid onPopupVisibilityChanged(boolean shown)
shown - true if the popup was just shown, false if it was just hidden