setExpanded

open fun setExpanded(expanded: Boolean): Boolean

Call this from setExpanded.