问题描述:

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().

相关阅读:
Top