addTransitionListener

Adds a listener to handle SearchView transitions such as showing and closing.