Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る
added in version 27.1.0
belongs to Maven artifact com.android.support:coordinatorlayout:28.0.0-alpha1

CoordinatorLayout.AttachedBehavior

public static interface CoordinatorLayout.AttachedBehavior

android.support.design.widget.CoordinatorLayout.AttachedBehavior


Defines the default attached CoordinatorLayout.Behavior of a View class

When writing a custom view, implement this interface to return the default behavior when used as a direct child of an CoordinatorLayout. The default behavior can be overridden using setBehavior(CoordinatorLayout.Behavior).

Summary

Public methods

abstract Behavior getBehavior()

Returns the behavior associated with the matching View class.

Public methods

getBehavior

added in version 27.1.0
Behavior getBehavior ()

Returns the behavior associated with the matching View class.

Returns
Behavior The behavior associated with the matching View class. Must be non-null.