AppBarLayout.Behavior

public static class AppBarLayout.Behavior
extends BaseBehavior<AppBarLayout>

java.lang.Object
   ↳ androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<V extends android.view.View>
     ↳ com.google.android.material.appbar.AppBarLayout.BaseBehavior<com.google.android.material.appbar.AppBarLayout>
       ↳ com.google.android.material.appbar.AppBarLayout.Behavior


The default AppBarLayout.Behavior for AppBarLayout. Implements the necessary nested scroll handling with offsetting.

Summary

Nested classes

class AppBarLayout.Behavior.DragCallback

Callback to allow control over any AppBarLayout dragging. 

Public constructors

Behavior()
Behavior(Context context, AttributeSet attrs)

Inherited methods

Public constructors

Behavior

public Behavior ()

Behavior

public Behavior (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet