BlazeWidgetItemImageAnimatedThumbnailStyle - Android
The BlazeWidgetItemImageAnimatedThumbnailStyle class represents the configuration for the animated thumbnails style.
Limitation: Animated GIF thumbnails are supported only on Row widgets (Stories, Moments and Videos).
Properties
isEnabled: Boolean,
horizontalAnimationTriggerPercentage: FloatisEnabled
var isEnabled: BooleanA flag indicating whether the Widget should utilize Animated Thumbnails behavior. If used, please see the animated presets:
BlazeWidgetLayout.Presets.StoriesWidget.Row.animatedThumbnailsCirclesBlazeWidgetLayout.Presets.StoriesWidget.Row.verticalAnimatedThumbnailsRectanglesBlazeWidgetLayout.Presets.MomentsWidget.Row.verticalAnimatedThumbnailsRectanglesBlazeWidgetLayout.Presets.VideosWidget.Row.verticalAnimatedThumbnailsRectanglesBlazeWidgetLayout.Presets.VideosWidget.Row.horizontalAnimatedThumbnailsRectangles
One item animates at a time. Items without an animated thumbnail keep showing their static thumbnail.
An animated row moves one item per swipe and rests with an item at its start. A row whose image thumbnailType is SQUARE_ICON (circles) scrolls freely instead.
Note isEnabled is applicable only to Row widgets. Grid and single-item layouts are not supported.
horizontalAnimationTriggerPercentage
var horizontalAnimationTriggerPercentage: FloatThe percentage of the widget's width at which the animation is triggered. This constant represents the threshold, expressed as a percentage of the widget's width, that determines when an animation should be triggered during horizontal scrolling in the widget's view.
Expected values are between 0f - 1f.
Updated about 9 hours ago
