DivKit is an open source Server-Driven UI (SDUI) framework. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app
OTHER License
Bot releases are hidden (Show)
Published by ninafs 12 months ago
databasePrefix
to DivStorageComponent#create
method.DivGallery
with scroll_mode
set to paging
.DivDataRepositoryImpl.getAll()
card duplicates.DivImageHolderFactory
protocol.aspect
support for the video
component.text_shadow
support for the text
component.set_variable
typed action.max_lines
property.input
server-side rendering (SSR).Published by ninafs 12 months ago
DivVariableStorage
.scale
property support in the video
component.custom
component support.Published by grechka62 about 1 year ago
Div2View
after calling cleanup
.DivActionSource.custom
with .timer
and .trigger
.scale
property support in the video
component.array
variable type, alongside with the couple of functions getStringFromArray
, getOptDictFromArray
and others.dict
fucntions: getStringFromDict
(alias for the getDictString
) with many others.dict
variables are now shown in markup as json instead of old <dict>
(new array
s works the same).shape
s.Published by grechka62 about 1 year ago
variablesStorage
visibility to public.Published by grechka62 about 1 year ago
Additions:
DivVariableController
and since now it should be used instead of GlobalVariableController
. GlobalVariableController
was deprecated.Fixes:
div-input
multikey mask with single pattern element.maxWidth
and maxHeight
to gallery children.div-input
rebind.div-gallery
with paging
scroll_mode
.div-pager
visibility action with 100% visibility percentage not called for last item.Additions:
copy_to_clipboard
action handler.array_insert_value
and array_remove_value
action handlers.getArray
/getDict
functions.Fixes:
Deprecation:
palette
and theme
marked as deprecated.Fixes:
input
multikey mask with the single pattern element.Published by vyaivanove about 1 year ago
DivSlider
for Android and iOSViewPool
optimization flagDivInput
placeholderDivImageLoader
methods should be called on main thread nowDivSlider
DivState
text
color with focus (without explicit focused_text_color
property)Published by vyaivanove about 1 year ago
Additions:
DivImage
DivSlider
.copy_to_clipboard
typed action.DivImageLoader
: PicassoDivImageLoader
/GlideDivImageLoader
using Picasso and Glide accordinglyFixes:
Additions:
space-between
, space-around
, space-evenly
alignmentsDivReporter
protocol.set_variable
action handler.Additions:
state_id_variable
support in the state
componentPublished by Ceramic00 about 1 year ago
DivDataRepository
.playground
and sample-app
.text_shadow
implementation.space-around
, space-between
, space-evenly
.DivSlider
performance.ExpressionResolver
.DivContainer
with constrained children height.DivInput
.Published by Ceramic00 about 1 year ago
DivPager
.get<Type>FromDict/get<Type>FromArray
functions for arrays.DivInput
mask.DivContainer
.Published by 4eb0da about 1 year ago
text_shadow
propertyranges
to sliderarray
variable typeBreaking changes:
Added:
Braking changes:
array
case into DivVariableValue
enum.DivBlockModelingError
, DivBlockModelingWarning
types, DivError
typealias replaced with protocol.DivLastVisibleBoundsCache
, DivVisibilityCounter
, EmptyDivCustomBlockFactory
,Other changes:
DivInput
DivViewPreloader
for DivView
match_parent
size support for tooltipsPublished by 4eb0da about 1 year ago
tooltips
supportPublished by vyaivanove about 1 year ago
state_id_variable
to DivState
transition
from visible
to invisible
/gone
on first drawSQLiteFullException
in DivStorage
causing app crashDivImage
, DivInput
, DivSlider
.updateCardAction
calls for elements with variables binding.Fixes:
gallery
component with the default_item
outside of the items rangePublished by vyaivanove about 1 year ago
left
with start
alignment by defaultcenter
DivTooltip
positionaspect
to DivVideo
DivTooltip
with match_parent
sizeDivTimer
actions execution after DivView
detachDivVideo
muted
propertyDivTabs
.DivInput
mask validator.Additions:
div-patch
, download
action and download_callbacks
supportfocus
parameters (including focused_text_color
)Published by lunarstill about 1 year ago
DivView
.DivText
, DivGallery
, DivPager
and DivIndicator
.DivGallery
.Published by lunarstill about 1 year ago
getStoredValue
functions support.DivContainer
.updateCardSignal
to DivKitComponents
.UrlOpener
with DivUrlHandler
protocol. Changed DivActionHandler
API.Fixes:
getYear
, getMonth
, getDay
, getDayOfWeek
, getHours
, getMinutes
, getSeconds
, getMillis
, len
, index
and lastIndex
. These integer values previously could produce errors in integer operationsPublished by villanellex2 about 1 year ago
Published by villanellex2 about 1 year ago
text_alignement_horizontal
and text_alignement_vertical
properties in div-input
.start
and end
values to horizontal alignment.start
and end
values to paddings and margins.wrap
container.visibility_actions
in DivStates.testRegex
function.DivStates
.text_alignement_horizontal
and text_alignement_vertical
properties in input
.Published by villanellex2 over 1 year ago
start
and end
to horizontal alignment.testRegex
function.constrained
property in wrap_content
size for pagers.item_space
in RTL layout direction.start
and end
parameters in margins, padding.testRegex
functioncontent_alignment_
properties along cross-axis in container
with the wrap
mode will now align rows / columns of items, instead of children components (to better match Android / iOS behavior).Published by villanellex2 over 1 year ago
DivSelect
min_width
for horizontal containerDivSelect
DivGallery
with match_parent
items layout.Published by peasemaker over 1 year ago
2.18.4