Gloading
Gloading copied to clipboard
Show global loading status view in a low coupling way for Android App(超轻量级,深度解耦Android App中全局加载中、加载失败及空数据视图)
关于导航栏的问题
在 Readme 中提到的这个问题```页面中可指定LoadingView的显示区域(例如导航栏Title不希望被LoadingView覆盖``` 不知道是在 Demo 中是怎么解决的?直接使用 wrapper(view) ? 如果设置 ```StatusLayout``` 的 paddingTop 或者 marginTop 好像也可以解决这个问题不知道会不会有什么别的问题呢。
**错误** java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. 出错抛异常源码: ViewGroup ``` if (child.getParent() != null) { throw new IllegalStateException("The specified...
如果界面正常加载,用户和后台有交互需要提交,这个时候也有一个提交加载的过程,这样loading的时候因为布局已经添加上去所以loading状态是没有的,就算有也会挡住原来的界面,这种应该如何处理比较好呢?
请问dialogfragment中如何使用?
@Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { binding = DataBindingUtil.inflate(inflater, initContentView(inflater, container, savedInstanceState), container, false); mLoadingHolder = Gloading.getDefault().wrap(binding.image).withRetry(new Runnable() { @Override public void run() {...