ExpandableBehavior

Base Behavior for views that can react to an ExpandableWidget's setExpanded state changes.

Inheritors

Constructors

Link copied to clipboard
constructor()
constructor(context: Context, attrs: AttributeSet)

Functions

Link copied to clipboard
open fun <T : ExpandableBehavior?> from(@NonNull view: View, @NonNull klass: Class<T>): T
A utility function to get the ExpandableBehavior attached to the view.
Link copied to clipboard
abstract fun layoutDependsOn(parent: CoordinatorLayout, child: View, dependency: View): Boolean
Link copied to clipboard
open fun onDependentViewChanged(parent: CoordinatorLayout, child: View, dependency: View): Boolean
Link copied to clipboard
open fun onLayoutChild(@NonNull parent: CoordinatorLayout, @NonNull child: View, layoutDirection: Int): Boolean