StatusUI
StatusUI copied to clipboard
界面状态和UI切换,如loading, empty, server error等,非侵入式组件,状态和UI都是可以配置的,也有内置的通用Status和默认UI
void onCreate(int status, View statusView) 这个方法没有被调用到吧...
点击事件无法监听
### StatusProvider if(p instanceof FrameLayout){ this.container = (FrameLayout) p; this.callback.onCreate(0, getStatusView()); }else{ throw new RuntimeException(contentView.getClass().getName() + "必须作为FrameLayout的子元素"); } 在 StatusProvider类的构造方法中添加了 ***this.callback.onCreate(0, getStatusView());*** ### 设置点击事件,无响应 public void onCreate(int status, View statusView)...