SearchView.TransitionListener

public static interface SearchView.TransitionListener

com.google.android.material.search.SearchView.TransitionListener


Callback interface that provides important transition events for a SearchView.

Summary

Public methods

abstract void onStateChanged(SearchView searchView, SearchView.TransitionState previousState, SearchView.TransitionState newState)

Called when the given SearchView's transition state has changed.

Public methods

onStateChanged

public abstract void onStateChanged (SearchView searchView, 
                SearchView.TransitionState previousState, 
                SearchView.TransitionState newState)

Called when the given SearchView's transition state has changed.

Parameters
searchView SearchView

previousState SearchView.TransitionState

newState SearchView.TransitionState