Android 12 Developer Preview is here! Try it out, and give us your feedback!

ExpandableTransformationWidget

public interface ExpandableTransformationWidget
implements ExpandableWidget

com.google.android.material.expandable.ExpandableTransformationWidget


An ExpandableWidget that visually transforms into another component when expanded.

Summary

Public methods

abstract int getExpandedComponentIdHint()

Returns the expanded component id hint.

abstract void setExpandedComponentIdHint(int expandedComponentIdHint)

Sets the expanded component id hint, which may be used by a Behavior to determine whether it should handle this widget's state change.

Inherited methods

Public methods

getExpandedComponentIdHint

public abstract int getExpandedComponentIdHint ()

Returns the expanded component id hint.

Returns
int

setExpandedComponentIdHint

public abstract void setExpandedComponentIdHint (int expandedComponentIdHint)

Sets the expanded component id hint, which may be used by a Behavior to determine whether it should handle this widget's state change.

Parameters
expandedComponentIdHint int