当前位置: 动力学知识库 > 问答 > 编程问答 >

In Android, is there a similar method to the repaint() in java?

问题描述:

In Android, is there a similar method to the repaint() in java?

网友答案:

It should be postInvalidate, not invalidate. As repaint() can be called by both UI and non-UI thread. So does postInvalidate.

网友答案:

To force a view to draw, call invalidate().

分享给朋友:
您可能感兴趣的文章:
随机阅读: