BlazeWidgetItemImageAnimatedThumbnailStyle - Android
The BlazeWidgetItemImageAnimatedThumbnailStyle class represents the configuration for the animated thumbnails style.
Limitation: Animated GIF thumbnails are only supported on Moment Row widgets.
Properties
isEnabled: Boolean,
horizontalAnimationTriggerPercentage: Floatheight: BlazeDp?isEnabled
var isEnabled: BooleanA flag indicating whether the Widget should utilize Animated Thumbnails behavior. If used, please see the BlazeWidgetLayout.Presets.MomentsWidget.Row.verticalAnimatedThumbnailsRectangles preset.
Note isEnabled is applicable only to Moments Row widgets. Any usage on any other scope will result in a no-op.
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 11 days ago
