What is invalid region in Android?

前端 未结 1 1980
无人及你
无人及你 2021-02-19 06:49

Under \"How Android Draws Views\" topic, there is such a sentence :

Drawing begins with the root node of the layout. It is requested to measure and dr

1条回答
  •  无人共我
    2021-02-19 07:12

    The "invalid region" is essentially the portion of the screen that requires repainting. It's used to make painting more efficient by only repainting the invalid region and leaving the rest alone.

    0 讨论(0)
提交回复
热议问题