資料連結1:
資料連結2:
介紹了怎麼在SwipeRefreshLayout中使用ListView
SwipeRefreshLayout是google自己的重新整理元件
SwipeRefreshLayout繼承自ViewGroup,是一個容器控件。不要将其和ListView混淆了。SwipeRefreshLayout裡一般放置ScrollView或者ListView,用來重新整理。
有必要去研究一下SwipeRefreshLayout的源碼。
本文轉自屠夫章哥 51CTO部落格,原文連結:http://blog.51cto.com/4259297/1705758,如需轉載請自行聯系原作者