Added in API level 1

Filterable

interface Filterable
android.widget.Filterable

Defines a filterable behavior. A filterable class can have its data constrained by a filter. Filterable classes are usually android.widget.Adapter implementations.

Summary

Public methods
abstract Filter!

Returns a filter that can be used to constrain data with a filtering pattern.

Public methods

getFilter

Added in API level 1
abstract fun getFilter(): Filter!

Returns a filter that can be used to constrain data with a filtering pattern.

This method is usually implemented by android.widget.Adapter classes.

Return
Filter! a filter used to constrain data