Reputation: 1058
In Android, is there a similar method to the repaint() in java?
Upvotes: 2
Views: 2659
Reputation: 42776
It should be postInvalidate
, not invalidate
. As repaint() can be called by both UI and non-UI thread. So does postInvalidate
.
Upvotes: 2