TranslateSubmenuToolbarCompletableOnSubscribe

open class TranslateSubmenuToolbarCompletableOnSubscribe : CompletableOnSubscribe

Asynchronously chainable animation on the submenu toolbar.

Constructors

constructor(@NonNull submenuBar: ContextualToolbarSubMenu, translateX: Int, translateY: Int, durationMs: Long, @Nullable interpolator: Interpolator)
Creates a CompletableOnSubscribe that animates the passed toolbar and calls onComplete() on subscriber once finished.

Functions

Link copied to clipboard
open fun subscribe(completableEmitter: CompletableEmitter)