GithubHelp home page GithubHelp logo

Comments (5)

Caij avatar Caij commented on July 20, 2024

#54 感觉这样改应该可以。

from magicasakura.

xyczero avatar xyczero commented on July 20, 2024
  • 不好意思间隔了这么久才回复您, 非常感谢提出issue并找到了问题的原因。
  • 关于这个bug我有些不同的看法,已在#54提出,我们可以继续讨论 😀

from magicasakura.

Caij avatar Caij commented on July 20, 2024
  1. 刚才看了下问题, 原因是你说的问题导致的。
  2. Drawable invalidateSelf 最终触发的流程是ImageView invalidate, 一般和直接调用ImageView invalidate 这块效率在什么地方会有差异。

from magicasakura.

xyczero avatar xyczero commented on July 20, 2024

我理解错了,从imageView自身实现的callback来看,当drawable不变的时,callback最后都是调用的invalidate方法,但是之前会额外去尝试更新drawlabe已缓存的大小,所以直接还是建议特殊来处理VectorDrawable

from magicasakura.

Caij avatar Caij commented on July 20, 2024

嗯 问题差不多了

from magicasakura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.