이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

ExpandableTransformationWidget

public interface ExpandableTransformationWidget
implements ExpandableWidget

com.google.android.material.expandable.ExpandableTransformationWidget
Known Indirect Subclasses


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

From interface com.google.android.material.expandable.ExpandableWidget

Public methods

getExpandedComponentIdHint

int getExpandedComponentIdHint ()

Returns the expanded component id hint.

Returns
int

setExpandedComponentIdHint

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