Commit Graph

53 Commits

Author SHA1 Message Date
valeriahil bfe81a52ef save subscription to tint color after rebind
save subscription to tint color after rebind

При ребаинде пропадает подписка на tint color, если image url не изменился.  Исправляю это здесь.
Примечание: сейчас логика применения тинта такая: https://st.yandex-team.ru/#61922c55ecd1dd5006ac6565
2022-09-26 13:05:33 +03:00
laringv d8f45a00e8 Use thread-safe ObserverList 2022-09-23 18:19:09 +03:00
nikita-kladov c70ff6a9a9 move lottie animation to s3 and fix ResProvider 2022-09-23 18:15:15 +03:00
grechka62 d6abf150b6 Implement wrap layout
Implement wrap layout
2022-09-23 18:03:05 +03:00
grechka62 d73672347d Android screenshots for input 2022-09-23 17:07:35 +03:00
grechka62 a3f6569638 Support match_parent of root view in android snapshot tests 2022-09-23 10:29:09 +03:00
alex-kozyakov 8d4d86bfe6 PR from branch users/alex-kozyakov/wp//0
Fix video SurfaceView z-order and bg color
2022-09-20 17:27:37 +03:00
grechka62 2cd2a0d61e Fix native_interface drawing in input 2022-09-20 17:17:31 +03:00
grechka62 a527d43009 Bind div input type for accessibility 2022-09-20 17:09:53 +03:00
4eb0da ef8c4108f4 Rework container layout 2022-09-20 17:03:51 +03:00
nikita-kladov 9667b47fd9 add image change subscription 2022-09-20 17:00:00 +03:00
i-ts 048d3d449c fix regression screen at release builds of demo-app 2022-09-20 13:14:14 +03:00
evgeek 859e4e00f7 Moved observeTintColor into bind method.
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
2022-09-20 13:11:31 +03:00
smirnov-maxim 5c43113d02 Refactored DivBorderDrawer 2022-09-19 12:27:58 +03:00
edubinskaya 540de6bb47 parsing patch from JSON
parsing patch from JSON

deleted BenderActivity
2022-09-19 08:13:59 +03:00
nikita-kladov 764e8f95b7 fix image blinking on rebind
Сейчас у нас при ребинде происходит повторная установка всех полей, поэтому заново создается и устанавливается бекграунд, что и вызывает мерцание.
Почему именно здесь и так:
- можно было бы обернуть вызов в applyIfNotEquals, но тогда при ребинде отвалятся подписки на переменные в полях
- можно было бы добавить поле вне колбека и смотреть на него, но при ребинде это поле сбросится в null и мы вернемся к той же проблеме
- сравнивать два drawable мы не можем. Они могут быть визуально одинаковы, но ссылка, по которой идет сравнение, будет разной

Сравнивать просто 2 списка с бг мы не можем, потому что там переменные, а нам надо иметь статичное состояние. Поэтому пришлось прибегнуть к созданию стейтов текущих бг и сравнивать уже их.
2022-09-16 15:46:24 +03:00
timatifey f8e1341f32 change host tag
remove host tag from demo-app manifest
2022-09-16 15:08:05 +03:00
grechka62 3c73168f72 Implement text alignment for input 2022-09-16 14:51:29 +03:00
i-ts ac43738a8a disable bind on attach 2022-09-16 10:59:27 +03:00
pkurchatov a0b9723719 clean up 2022-09-15 17:34:46 +03:00
nikita-kladov d0f75153d9 fix extensions reuse 2022-09-15 12:22:06 +03:00
grechka62 7be8b40b65 Replace link or json when paste from buffer in demo-app 2022-09-13 18:54:06 +03:00
timatifey 45032420af support true/false literals into variables
support true/false literals into variables
2022-09-13 16:59:09 +03:00
timatifey d4390912ae api-generator tests & boolean_int representation tests
boolean_int tests

api-generator-tests
2022-09-12 17:14:14 +03:00
smirnov-maxim 774568a3a5 Fixed local perf-tests launch 2022-09-09 19:33:28 +03:00
gulevsky 9d753cfdc3 use public gradle distribution url
use public gradle distribution url
2022-09-09 17:53:20 +03:00
edubinskaya e2a6408c90 use index.json for getting scenarios 2022-09-09 13:28:33 +03:00
edubinskaya a6ff401702 sort scenarios by title
sort scenarios by title
2022-09-09 11:29:54 +03:00
edubinskaya aebf4c629e remove Div2Bender from demo activity
remove Div2Bender from demo activity
2022-09-08 09:55:44 +03:00
smirnov-maxim ef4826c236 Use referential equality check for subscriptions 2022-09-07 15:36:42 +03:00
smirnov-maxim 2b33c20f9f Optimized actions binding 2022-09-07 15:36:21 +03:00
timatifey 34cfd715ad radial gradient schema
div-radial-gradient params
2022-09-06 18:49:50 +03:00
edubinskaya e46db6f1f0 update regression for internal usages
new regression label

new regression cards
2022-09-06 15:46:07 +03:00
smirnov-maxim 54e82a5e70 Primitive resource cache 2022-09-06 12:02:56 +03:00
malets 4f21eeea0f PR from branch users/malets/wp//2
update perftests client libraries to recent versions in Realty client.
update perftests client libraries to recent versions in mobile maps.
update perftests client libraries to recent versions in appmetrika sdk.
update perftests client libraries to recent versions in mail client for Android.
update perftests client libraries to recent versions in divkit.
2022-09-06 10:56:52 +03:00
pkurchatov a384106968 moved regression test data 2022-09-06 10:43:11 +03:00
morevsavva 1457433d4e add wrap property to container
add wrap property to container
2022-09-05 20:31:44 +03:00
edubinskaya 4f46b49748 support div rotation
support div rotation
2022-09-05 15:04:32 +03:00
ggys 4f33657108 bind triggers on attach
remove unnecessary synchronization

bind triggers on attach
2022-09-02 15:57:11 +03:00
gulevsky 272512621a public android build configuration 2022-09-01 19:42:31 +03:00
timatifey a2ee37f04a connect python api_generator to client/android
api_generator script
1) api_generator execute script with creating virtual env and checking for changes in requirements
2) update _container in android CI tasks
2022-08-31 19:03:31 +03:00
gulevsky 62467fdffc generate source artifacts 2022-08-31 11:36:06 +03:00
tayrinn 5a412dd33f change text to medium 2022-08-26 22:36:30 +03:00
hpotter 2358e94452 split ci tasks for different api levels 2022-08-26 17:58:06 +03:00
pkurchatov 2ea08f1d12 updated README 2022-08-26 13:48:22 +03:00
syntezzz da422be8c3 HomeAPIGenerator fix 2022-08-26 10:48:53 +03:00
gulevsky 41b555f0d0 configure publishing to maven central
configure publishing to maven central
2022-08-26 10:45:06 +03:00
tayrinn d7e94f7273 sample code 2022-08-26 08:23:26 +03:00
syntezzz 674e149dbc Android readme 2022-08-26 02:20:06 +03:00
gulevsky 657b1f2d62 pass build parameters to gradle
pass build parameters to gradle
2022-08-26 01:42:11 +03:00