DivKit 28.9.0
This week, we released DivKit 28.9.0, and we are excited to share our latest news about the release.
Android
- Added support for a boolean parameter
infinite_scroll
to thepager
, which allows looping through the elements endlessly when this flag is set.
![](/file/52faf25af755811173ab2.gif)
Currently, this feature is only available for Android.
- Fixed an issue related to incorrect id selection when
custom
views are used inside thegallery
.
iOS
- Added a new extension called
VideoDurationExtensionHandler
, which can be used to determine the duration of videos by passing a variable name containing the value to be searched for.
Web
- Fixed an issue regarding incorrect alignment in containers using the
space-evenly
andspace-around
alignment settings. - Introduced new typed actions to modify arrays, such as
array_insert_value
andarray_remove_value
, making it easier to work with arrays in custom template components.
These methods are available on the Web, Android, and iOS platforms. - Added support for expressions in the
execAction
method. - Furthermore, we extended the custom component template API to allow working with variables at run time. Check out some of our examples at https://github.com/divkit/divkit/tree/main/client/web/divkit-examples/custom-extended-api