-
@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.
-
-
Field Summary
Fields Modifier and Type Field Description private final InfiniteRepeatableSpec<Float>fadeAnimationSpecprivate final InfiniteRepeatableSpec<Float>shimmerAnimationSpecpublic final static PlaceholderDefaultsINSTANCE
-
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. -
-
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.
-
-
-
-