setExpanded

abstract fun setExpanded(expanded: Boolean): Boolean

Sets the expanded state on this widget.

Implementations should call setExpanded.

Return

true if the expanded state changed as a result of this call.