Interface AnimatedLayout

    • Method Detail

      • animate

        void animate​(int duration)
        Layout children, animating over the specified period of time.
        Parameters:
        duration - the animation duration, in milliseconds
      • animate

        void animate​(int duration,
                     Layout.AnimationCallback callback)
        Layout children, animating over the specified period of time.

        This method provides a callback that will be informed of animation updates. This can be used to create more complex animation effects.

        Parameters:
        duration - the animation duration, in milliseconds
        callback - the animation callback