CoordinatorLayout.DefaultBehavior


@Retention(value = RetentionPolicy.RUNTIME)
annotation CoordinatorLayout.DefaultBehavior


Defines the default 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.

Example: @DefaultBehavior(MyBehavior.class)

Summary

Public functions

abstract Class<CoordinatorLayout.Behavior!>!

Public functions

value

Added in 1.1.0
Deprecated in 1.1.0
abstract fun value(): Class<CoordinatorLayout.Behavior!>!