SearchView.Behavior

public static class SearchView.Behavior
extends Behavior<SearchView>

java.lang.Object
   ↳ androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<com.google.android.material.search.SearchView>
     ↳ com.google.android.material.search.SearchView.Behavior


Behavior that sets up an SearchView with an SearchBar.

Summary

Public constructors

Behavior()
Behavior(Context context, AttributeSet attrs)

Public methods

boolean onDependentViewChanged(CoordinatorLayout parent, SearchView child, View dependency)

Inherited methods

Public constructors

Behavior

public Behavior ()

Behavior

public Behavior (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

Public methods

onDependentViewChanged

public boolean onDependentViewChanged (CoordinatorLayout parent, 
                SearchView child, 
                View dependency)

Parameters
parent CoordinatorLayout

child SearchView

dependency View

Returns
boolean