Package 

Object DonutConfig.Companion

    • Method Summary

      Modifier and Type Method Description
      final DonutConfig create(AnimationSpec<Float> layoutAnimationSpec, AnimationSpec<Color> colorAnimationSpec) The factory method for DonutConfig that simplifies the creation of new configuration instances where all layout animations or all color animations should behave similarly (Eg.
      • Methods inherited from class java.lang.Object

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

      • create

         final DonutConfig create(AnimationSpec<Float> layoutAnimationSpec, AnimationSpec<Color> colorAnimationSpec)

        The factory method for DonutConfig that simplifies the creation of new configuration instances where all layout animations or all color animations should behave similarly (Eg. all layout animations will use the same animation spec).

        Parameters:
        layoutAnimationSpec - animation builder for all layout animations
        colorAnimationSpec - animation builder for all color change animations