Android中View的異步消息

一、 摘要 介紹Android中View的異步消息,以及消息傳遞流程。 二、 分析View.post() 說起View的異步消息,也就是View.post()這個方法,它常用於在主線程更新UI,我們要搞清楚它的具體實現,先來看看post()的源碼(postDelayed()原理相同,因此不再單獨講解): /** * <p>Causes the Runnable to be added to the
相關文章
相關標籤/搜索