Package 

Object PlaceholderDefaults


  • @Deprecated(message = 
    accompanist/placeholder is deprecated and the API is no longer maintained. 
    We recommend forking the implementation and customising it to your needs. 
    For more information please visit https://google.github.io/accompanist/placeholder
    ) 
    public class PlaceholderDefaults
    
                        

    Contains default values used by Modifier.placeholder and PlaceholderHighlight.

    • Method Summary

      Modifier and Type Method Description
      final InfiniteRepeatableSpec<Float> getFadeAnimationSpec() The default InfiniteRepeatableSpec to use for fade.
      final InfiniteRepeatableSpec<Float> getShimmerAnimationSpec() The default InfiniteRepeatableSpec to use for shimmer.
      • Methods inherited from class java.lang.Object

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

      • getFadeAnimationSpec

         final InfiniteRepeatableSpec<Float> getFadeAnimationSpec()

        The default InfiniteRepeatableSpec to use for fade.

      • getShimmerAnimationSpec

         final InfiniteRepeatableSpec<Float> getShimmerAnimationSpec()

        The default InfiniteRepeatableSpec to use for shimmer.