關於加載無網絡圖與無數據圖設計思路,點擊從新加載方法實現

fragment中新new MyFragment ,MyFragment 繼承BaseFragment  在onActivityCreate中經過this.getView(),獲取整個Myragment的View,在BaseFragment 中 寫二個行數 ShowNoNetWork(); ShowNoNetWork(listener); listener來自MyFragment中點擊對象。網絡
相關文章
相關標籤/搜索