码迷,mamicode.com
首页 > 其他好文 > 详细

invalidate() and postInvalidate()

时间:2014-05-16 06:48:38      阅读:341      评论:0      收藏:0      [点我收藏+]

标签:android   c   int   a   os   ui   

/**
* Invalidate the whole view. If the view is visible,
* {@link #onDraw(android.graphics.Canvas)} will be called at some point in
* the future. This must be called from a UI thread. To call from a non-UI thread,
* call {@link #postInvalidate()}.
*/

 

invalidate():This must be called from a UI thread

postInvalidate():This must be called from a non-UI thread

invalidate() and postInvalidate(),布布扣,bubuko.com

invalidate() and postInvalidate()

标签:android   c   int   a   os   ui   

原文地址:http://www.cnblogs.com/ZacharyHodgeZou/p/3726162.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!