SmartRefreshLayout
SmartRefreshLayout copied to clipboard
🔥下拉刷新、上拉加载、二级刷新、淘宝二楼、RefreshLayout、OverScroll,Android智能下拉刷新框架,支持越界回弹、越界拖动,具有极强的扩展性,集成了几十种炫酷的Header和 Footer。
onLoadMore 上拉加载过多后,加载中底部footer的布局消失 时间越来越长。开始的时候动画结束就消失了,后面动画结束后,很久加载中布局layout 才消失。
希望的预期:可以正常往下滑
本来想引入该库的,代码分析,技术评估,搞了好久……最后被一个彩蛋否决了!!!一次彩蛋,后面可能会有更多彩蛋,无法信任这种操作!!!代码要远离彩蛋,且行且珍惜!!!
还会更新吗?
挺好的一个库。好像不怎么更了呢
动画还没结束数据就显示了 正在加载中覆盖到布局上
希望能支持compose
用于区分这两种情况:a.用户拖动触发刷新,b.autoRefresh等方法触发刷新。目的在于实现不同的刷新效果。https://github.com/scwang90/SmartRefreshLayout/issues/72#issuecomment-562411978
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 4326412 byte allocation with 1792408 free bytes and 1750KB until OOM at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java) at android.graphics.Bitmap.nativeCreate(Bitmap.java) at android.graphics.Bitmap.createBitmap(Bitmap.java:975) at android.graphics.Bitmap.createBitmap(Bitmap.java:946) at android.graphics.Bitmap.createBitmap(Bitmap.java:913) at androidx.vectordrawable.graphics.drawable.VectorDrawableCompat$VectorDrawableCompatState.createCachedBitmapIfNeeded(BL:2)...
不过我是使用DataBinding来转换布局,再设置给SmartRefreshLayout的,不知道是滑动问题还是DataBinding转换的问题?好像NestedScrollView也会无法滚动。 不使用TwoLevelHeader,即使setRefreshContent也能正常滚动。 LayoutStudioBinding binding= DataBindingUtil.inflate(getLayoutInflater(), R.layout.layout_studio, getBinding().srlStudio, false); getBinding().srlStudio.setRefreshContent(binding.getRoot());
什么时候支持下Compose