WILL_NOT_DRAW 谁用过?

marktola 发布于 2013/12/30 11:42
阅读 38
收藏 0


In constructor (or anywhere else you initialize the component) set setWillNotDraw(false) and override dispatchDraw()dispatchDraw() draws the ViewGroup children so you can decide yourself if you want to draw behind or a top of the other views.


这是不是可以避免一次渲染太多内容,而避免延迟?

加载中
返回顶部
顶部