Class of android.widget · Filter.java · Android's reference
public abstract class Filter
Filters the data of an adapter on a worker thread, and publishes the result on the thread that asked.
public Filter() empty body sourcepublic final void filter(CharSequence constraint) sourcepublic final void filter(CharSequence constraint, FilterListener listener) sourceA new request replaces the one that waits: only the result of the last request is published.
protected abstract FilterResults performFiltering(CharSequence constraint) sourceprotected abstract void publishResults(CharSequence constraint, FilterResults results) sourcepublic CharSequence convertResultToString(Object resultValue) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.