https://github.com/ImKarl/WaitView
1.
maven { url 'https://jitpack.io' }
1.1
compile 'com.github.ImKarl:WaitView:{latestVersion}'
2我的笔记
主要在MVP 层次中
M层中会有接口CallBack,写俩个方法,OnStart onfinish 调用时机对应 M层主要方法进行网络请求对应的onsStart onfinish或者在onSucess ,在V层也要有对应的方法,页面实现onstart onfinish
在p层实现即可
// 移除 |
WaitViewController.from(mRootView).removeChilds();
// 显示 |
WaitViewController.from(mRootView).renderChilds();