Skip navigation links
A B C D G H I M O P R S W 

A

afterTextChanged(Editable) - Method in class com.otaliastudios.autocomplete.Autocomplete
 
Autocomplete<T> - Class in com.otaliastudios.autocomplete
Entry point for adding Autocomplete behavior to a EditText.
Autocomplete.Builder<T> - Class in com.otaliastudios.autocomplete
Builder for building Autocomplete.
Autocomplete.SimplePolicy - Class in com.otaliastudios.autocomplete
A very simple AutocompletePolicy implementation.
AutocompleteCallback<T> - Interface in com.otaliastudios.autocomplete
Optional callback to be passed to Autocomplete.Builder.
AutocompletePolicy - Interface in com.otaliastudios.autocomplete
This interface controls when to show or hide the popup window, and, in the first case, what text should be passed to the popup AutocompletePresenter.
AutocompletePresenter<T> - Class in com.otaliastudios.autocomplete
Base class for presenting items inside a popup.
AutocompletePresenter(Context) - Constructor for class com.otaliastudios.autocomplete.AutocompletePresenter
 
AutocompletePresenter.ClickProvider<T> - Interface in com.otaliastudios.autocomplete
 
AutocompletePresenter.PopupDimensions - Class in com.otaliastudios.autocomplete
Provides width, height, maxWidth and maxHeight for the popup.

B

beforeTextChanged(CharSequence, int, int, int) - Method in class com.otaliastudios.autocomplete.Autocomplete
 
build() - Method in class com.otaliastudios.autocomplete.Autocomplete.Builder
Builds an Autocomplete instance.

C

CharPolicy - Class in com.otaliastudios.autocomplete
A special AutocompletePolicy for cases when you want to trigger the popup when a certain character is shown.
CharPolicy(char) - Constructor for class com.otaliastudios.autocomplete.CharPolicy
Constructs a char policy for the given character.
CharPolicy(char, boolean) - Constructor for class com.otaliastudios.autocomplete.CharPolicy
Constructs a char policy for the given character.
click(T) - Method in interface com.otaliastudios.autocomplete.AutocompletePresenter.ClickProvider
 
com.otaliastudios.autocomplete - package com.otaliastudios.autocomplete
 

D

dismissPopup() - Method in class com.otaliastudios.autocomplete.Autocomplete
Dismisses the popup, if showing.
dispatchClick(T) - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
Dispatch click event to AutocompleteCallback.
dispatchLayoutChange() - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
Request that the popup should recompute its dimensions based on a recent change in the view being displayed.

G

getContext() - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
 
getPopupDimensions() - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
Provide the AutocompletePresenter.PopupDimensions for this popup.
getQuery(Spannable) - Method in class com.otaliastudios.autocomplete.Autocomplete.SimplePolicy
 
getQuery(Spannable) - Method in interface com.otaliastudios.autocomplete.AutocompletePolicy
Called to understand which query should be passed to AutocompletePresenter for a showing popup.
getQuery(Spannable) - Method in class com.otaliastudios.autocomplete.CharPolicy
 
getQueryRange(Spannable) - Static method in class com.otaliastudios.autocomplete.CharPolicy
Returns the current query out of the given Spannable.
getRecyclerView() - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
 
getView() - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
Called each time the popup is shown.
getView() - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
 

H

height - Variable in class com.otaliastudios.autocomplete.AutocompletePresenter.PopupDimensions
 

I

instantiateAdapter() - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
Provide an adapter for the recycler.
instantiateLayoutManager() - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
Provides a layout manager for the recycler.
isPopupShowing() - Method in class com.otaliastudios.autocomplete.Autocomplete
Returns true if the popup is showing.
isShowing() - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
 
isValidChar(char) - Method in class com.otaliastudios.autocomplete.CharPolicy
Can be overriden to understand which characters are valid.

M

maxHeight - Variable in class com.otaliastudios.autocomplete.AutocompletePresenter.PopupDimensions
 
maxWidth - Variable in class com.otaliastudios.autocomplete.AutocompletePresenter.PopupDimensions
 

O

on(EditText) - Static method in class com.otaliastudios.autocomplete.Autocomplete
Entry point for building autocomplete on a certain EditText.
onDismiss(Spannable) - Method in class com.otaliastudios.autocomplete.Autocomplete.SimplePolicy
 
onDismiss(Spannable) - Method in interface com.otaliastudios.autocomplete.AutocompletePolicy
Called when popup is dismissed.
onDismiss(Spannable) - Method in class com.otaliastudios.autocomplete.CharPolicy
 
onPopupItemClicked(Editable, T) - Method in interface com.otaliastudios.autocomplete.AutocompleteCallback
Called when an item inside your list is clicked.
onPopupVisibilityChanged(boolean) - Method in interface com.otaliastudios.autocomplete.AutocompleteCallback
Called when popup visibility state changes.
onQuery(CharSequence) - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
Called to update the view to filter results with the query.
onSpanAdded(Spannable, Object, int, int) - Method in class com.otaliastudios.autocomplete.Autocomplete
 
onSpanChanged(Spannable, Object, int, int, int, int) - Method in class com.otaliastudios.autocomplete.Autocomplete
 
onSpanRemoved(Spannable, Object, int, int) - Method in class com.otaliastudios.autocomplete.Autocomplete
 
onTextChanged(CharSequence, int, int, int) - Method in class com.otaliastudios.autocomplete.Autocomplete
 
onViewHidden() - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
Called when the popup is hidden, to release resources.
onViewHidden() - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
 
onViewShown() - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
Perform firther initialization here.
onViewShown() - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
 

P

PopupDimensions() - Constructor for class com.otaliastudios.autocomplete.AutocompletePresenter.PopupDimensions
 

R

RecyclerViewPresenter<T> - Class in com.otaliastudios.autocomplete
Simple AutocompletePresenter implementation that hosts a RecyclerView.
RecyclerViewPresenter(Context) - Constructor for class com.otaliastudios.autocomplete.RecyclerViewPresenter
 
registerClickProvider(AutocompletePresenter.ClickProvider<T>) - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
At this point the presenter is passed the AutocompletePresenter.ClickProvider.
registerClickProvider(AutocompletePresenter.ClickProvider<T>) - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
 
registerDataSetObserver(DataSetObserver) - Method in class com.otaliastudios.autocomplete.AutocompletePresenter
Useful if you wish to change width/height based on content height.
registerDataSetObserver(DataSetObserver) - Method in class com.otaliastudios.autocomplete.RecyclerViewPresenter
 

S

setEnabled(boolean) - Method in class com.otaliastudios.autocomplete.Autocomplete
Switch to control the autocomplete behavior.
setGravity(int) - Method in class com.otaliastudios.autocomplete.Autocomplete
Sets the gravity for the popup.
setOffsetFromAnchor(int) - Method in class com.otaliastudios.autocomplete.Autocomplete
Controls the vertical offset of the popup from the EditText anchor.
setOutsideTouchable(boolean) - Method in class com.otaliastudios.autocomplete.Autocomplete
Controls whether the popup should listen to clicks outside its boundaries.
shouldDismissPopup(Spannable, int) - Method in class com.otaliastudios.autocomplete.Autocomplete.SimplePolicy
 
shouldDismissPopup(Spannable, int) - Method in interface com.otaliastudios.autocomplete.AutocompletePolicy
Called to understand whether a currently shown popup should be closed, maybe because text is invalid.
shouldDismissPopup(Spannable, int) - Method in class com.otaliastudios.autocomplete.CharPolicy
 
shouldShowPopup(Spannable, int) - Method in class com.otaliastudios.autocomplete.Autocomplete.SimplePolicy
 
shouldShowPopup(Spannable, int) - Method in interface com.otaliastudios.autocomplete.AutocompletePolicy
Called to understand whether the popup should be shown.
shouldShowPopup(Spannable, int) - Method in class com.otaliastudios.autocomplete.CharPolicy
 
showPopup(CharSequence) - Method in class com.otaliastudios.autocomplete.Autocomplete
Shows the popup with the given query.
SimplePolicy() - Constructor for class com.otaliastudios.autocomplete.Autocomplete.SimplePolicy
 

W

width - Variable in class com.otaliastudios.autocomplete.AutocompletePresenter.PopupDimensions
 
with(AutocompletePresenter<T>) - Method in class com.otaliastudios.autocomplete.Autocomplete.Builder
Registers the AutocompletePresenter to be used, responsible for showing items.
with(AutocompleteCallback<T>) - Method in class com.otaliastudios.autocomplete.Autocomplete.Builder
Registers the AutocompleteCallback to be used, responsible for listening to clicks provided by the presenter, and visibility changes.
with(AutocompletePolicy) - Method in class com.otaliastudios.autocomplete.Autocomplete.Builder
Registers the AutocompletePolicy to be used, responsible for showing / dismissing the popup when certain events happen (e.g.
with(Drawable) - Method in class com.otaliastudios.autocomplete.Autocomplete.Builder
Sets a background drawable for the popup.
with(float) - Method in class com.otaliastudios.autocomplete.Autocomplete.Builder
Sets elevation for the popup.
A B C D G H I M O P R S W 
Skip navigation links