hideMenuItems

open fun hideMenuItems(animate: Boolean): Completable

Hides all menu items in the toolbar with an optional fade-out animation.

Return

A Completable that completes when all items are hidden.

Parameters

animate

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