setSearchFilter

Sets a search filter on the adapter.

Parameters

str

The string to filter by. If null, the filter is cleared.

onSearchFilterListener

An optional listener to be notified when the filtering operation is complete.