hideMenuItems

open fun hideMenuItems(animate: Boolean): Completable

Hides all menu items in the submenu with an optional animation.

Return

A Completable that completes when all items are hidden.

Parameters

animate

true to animate the items disappearing, false for instant hiding.