onCollapse

inline fun MenuItem?.onCollapse(crossinline function: () -> Unit)