Behavior

constructor()(source)

Default constructor for instantiating Behaviors.


constructor(@NonNull context: @NonNull Context, @Nullable attrs: @Nullable AttributeSet)(source)

Default constructor for inflating Behaviors from layout. The Behavior will have the opportunity to parse specially defined layout parameters. These parameters will appear on the child view tag.

Parameters

context
attrs