subscribe

open fun subscribe(completableEmitter: CompletableEmitter)

Subscribes to the animation completable, starting the translation animation on the submenu bar. The animation will translate the submenu bar to the specified X and Y positions using the configured duration and interpolator. When the animation completes, onComplete() is called on the emitter.

Parameters

completableEmitter

The emitter to notify when the animation completes.

Throws

If an error occurs during subscription.