Package 

Class AnimatektxKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends View> T shaking(T $self, Integer count) Applies a shaking animation to a view.
      final static <T extends View> T flickering(T $self) Applies a flickering animation to a view, making it fade in and out.
      final static <T extends View> T beating(T $self) Applies a beating animation to a view, making it move up and down.
      • Methods inherited from class java.lang.Object

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

      • shaking

         final static <T extends View> T shaking(T $self, Integer count)

        Applies a shaking animation to a view.

        This function creates a horizontal shaking animation by translating the view back and forth.

        Parameters:
        count - The number of shake cycles the view should perform.
      • flickering

         final static <T extends View> T flickering(T $self)

        Applies a flickering animation to a view, making it fade in and out.

        This function creates an alpha animation that continuously fades the view in and out, creating a flickering effect.

      • beating

         final static <T extends View> T beating(T $self)

        Applies a beating animation to a view, making it move up and down.

        This function creates a 'beating' effect by repeatedly moving the view up and down along the Y-axis.