Class TranslateSubmenuToolbarCompletableOnSubscribe

  • All Implemented Interfaces:
    io.reactivex.rxjava3.core.CompletableOnSubscribe

    
    public class TranslateSubmenuToolbarCompletableOnSubscribe
     implements CompletableOnSubscribe
                        

    Asynchronously chainable animation on the submenu toolbar.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void subscribe(CompletableEmitterĀ completableEmitter)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TranslateSubmenuToolbarCompletableOnSubscribe

        TranslateSubmenuToolbarCompletableOnSubscribe(ContextualToolbarSubMenu submenuBar, int translateX, int translateY, long durationMs, Interpolator interpolator)
        Creates a CompletableOnSubscribe that animates the passed toolbar and calls onComplete() on subscriber once finished.
        Parameters:
        submenuBar - Submenu bar to be animated.
        translateX - Targeted x-translation property value at the end of animation.
        translateY - Targeted y-translation property value at the end of animation.
        durationMs - Duration of the animation in milliseconds.
        interpolator - Animation interpolator, default is LinearInterpolator.
    • Method Detail

      • subscribe

         void subscribe(CompletableEmitterĀ completableEmitter)