invalidate 跟requestLayout 区别

invalidate :仅仅是onDraw();
postInvalidate :子线程中请求

requestLayout: 是请求重新onMearsure onLayout onDraw

    原文作者:heiheiwanne
    原文地址: https://www.jianshu.com/p/18af9d56746d
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞