Comments (5)
#54 感觉这样改应该可以。
from magicasakura.
- 不好意思间隔了这么久才回复您, 非常感谢提出issue并找到了问题的原因。
- 关于这个bug我有些不同的看法,已在#54提出,我们可以继续讨论 😀
from magicasakura.
- 刚才看了下问题, 原因是你说的问题导致的。
- Drawable invalidateSelf 最终触发的流程是ImageView invalidate, 一般和直接调用ImageView invalidate 这块效率在什么地方会有差异。
from magicasakura.
我理解错了,从imageView自身实现的callback来看,当drawable不变的时,callback最后都是调用的invalidate方法,但是之前会额外去尝试更新drawlabe已缓存的大小,所以直接还是建议特殊来处理VectorDrawable
from magicasakura.
嗯 问题差不多了
from magicasakura.
Related Issues (20)
- 可以自定义支持其他组件么? HOT 1
- F ragment 里面的tooloar不会实时刷新 HOT 1
- fragment里面的就没有及时更新。必须重启才有效 HOT 1
- shape文件怎么处理呢 HOT 1
- 我想知道能不能扩展一下。支持drawable HOT 2
- TabLayout不支持 HOT 2
- 对话框不支持alertDialog HOT 1
- 对Databinding 支持不友好。 HOT 1
- 支持WindowManager么? HOT 4
- 添加IntButton在布局的时候报错 HOT 5
- dataBinding在布局添加TintToolbar运行报错 HOT 3
- 升级android studio 3报错 HOT 1
- 依赖方式compile 'com.bilibili:magicasakura:0.1.8@aar'会报错 HOT 1
- 请问如何自定义主题色 HOT 2
- drawableTintMode HOT 5
- 引入库后导致string文件中占位符异常
- android Q适配问题
- About dark mode.
- Java代码中手动设置颜色导致主题切换颜色不刷新问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicasakura.