僅僅是下載下傳一張圖檔,在下載下傳完之前,先顯示一張站位圖
<a href="http://download.csdn.net/detail/q4878802/9067397">下載下傳位址(Android Studio工程):http://download.csdn.net/detail/q4878802/9067397</a>
<a href="http://fresco-cn.org/docs/getting-started.html#_">官方位址:http://fresco-cn.org/docs/getting-started.html#_</a>
始化要在setContentView之前完成,否則會報空指針異常,找不到SimpleDraweeView控件.
這裡的寬和高可以用具體的dp值,也可以用”match_parent”屬性,但是不要用”wrap_content”屬性