mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
859e4e00f7
Changing tint color stopped working after rebind if
image url remained same because we are calling
view.closeAllSubscription() in bindView and didn't
call observeTintColor when imageUrl was same due to
if (isImageLoaded && newImageUrl == imageUrl) {
return
}
in applyImage
DivKit for Android client library
How it works
DivKit builds native views from JSON data.
JSON → DivData → Android View
-
JSON – raw data with templates in DivKit format (see DivKit schema).
-
DivData – data objects parsed from JSON.
-
Android View - Plain old Android view system
DivKit Project
build.gradle – main Android Studio project with everything Android related.
Use divkit-demo-app configuration to build and launch our demo app.
Sample Project
sample – sample project with a very simple DivKit integration
Documentation. Medium tutorial. Habr tutorial.
Telegram: News | English-speaking chat | Чат на русском.