Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 24.1.0
belongs to Maven artifact com.android.support:coordinatorlayout:28.0.0-alpha1
Deprecated since version 27.1.0

CoordinatorLayout.DefaultBehavior

public static abstract @interface CoordinatorLayout.DefaultBehavior
implements Annotation

android.support.design.widget.CoordinatorLayout.DefaultBehavior


This @interface was deprecated in API level 27.1.0.
Use CoordinatorLayout.AttachedBehavior instead

Defines the default CoordinatorLayout.Behavior of a View class.

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

Example: @DefaultBehavior(MyBehavior.class)

Summary

Public methods

Class<? extends Behavior> value()

Inherited methods

From interface java.lang.annotation.Annotation

Public methods

value

Class<? extends Behavior> value ()

Returns
Class<? extends Behavior>