Android Partial Invalidation Doesn't Work As Expected With Hardware Acceleration
I know this is quite the same question as partial-invalidation-in-custom-android-view-with-hardware-acceleration but I thought I will explain my problem more detailled and hope som
Solution 1:
I have post my answer in your given link. To understand the problem , you should know the difference between software rendering and hardware rendering. That's really a big topic which I won't cover here. I think the best approach is to read the source code(I did the same thing a few days ago). The key question is "what is DisplayList
and when it is used"
. Repeat my answer here, the Canvas
in onDraw
is simply used to rebuild the DisplayList. That doesn't mean everything in your View will be redrawn.
Post a Comment for "Android Partial Invalidation Doesn't Work As Expected With Hardware Acceleration"