LoadingStateView icon indicating copy to clipboard operation
LoadingStateView copied to clipboard

Decoupling the code of toolbar or loading status view. (深度解耦标题栏,解耦加载中、加载失败、无数据等缺省页,支持两行代码集成到基类)

Results 8 LoadingStateView issues
Sort by recently updated
recently updated
newest added

ViewPager2中使用androidx.viewpager2.adapter.FragmentStateAdapter加载Fragment,标题栏加载不出来,断点是因为bind.root.parent为空,有没有好的解决方法

![image](https://user-images.githubusercontent.com/39075239/87501566-f6b78000-c691-11ea-9ee7-541e72de4502.png)

如题,是否可以增加获取当前显示状态的方法,我本来想通过LoadingStateDelegate扩展方法进行获取,但是发现loadingStateView是私有变量

class LoadingViewDelegate:LoadingStateView.ViewDelegate(ViewType.LOADING) { override fun onCreateView(inflater: LayoutInflater, parent: ViewGroup): View = inflater.inflate(R.layout.common_loading_view, parent, false).also { val ivLoading: ImageView = it.findViewById(R.id.loading_iv) (ivLoading.drawable as AnimationDrawable).start() } } 这样加载loadingView 后 切换到contentView 那么loadingView的动画怎么停止

布局文件 ` ` activty里面设置: ` override val contentView: View? get() = binding.container` showContent的时候界面会多一个margin

因为网络请求速度太快的情况下showLoadingView只会闪一下马上变成showContentView,这样看起来很奇怪