BaseRecyclerViewAdapterHelper icon indicating copy to clipboard operation
BaseRecyclerViewAdapterHelper copied to clipboard

BRVAH:Powerful and flexible RecyclerAdapter

Results 246 BaseRecyclerViewAdapterHelper issues
Sort by recently updated
recently updated
newest added

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...

版本: 4.1.4 问题: 4.x版本notifyItemChanged带payloads没有回调,示例代码如下 mAdapter[index] = newItem //这里其实已经调用了notifyItemChanged mAdapter.notifyItemChanged(index, MomentAdapter.PAY_LOAD_UPDATE_LIKE) //再次调用notifyItemChanged带payloads 由于缓存原因或者更新间隔太短的拦截 此次更新是不会回调到onBindViewHolder()带payloads的方法的 原因: 由于新版的BaseQuickAdapter无法直接操作到data,只能通过adapter[position] = newItem的方式对指定位置的item数据进行更改,但是此方法会调用notifyItemChanged(position) open operator fun set(@IntRange(from = 0) position: Int, data: T) { if (position...

不能上面死界面,下面瀑布流了吗

使用FlexboxLayoutManager时setHeader/Footer/Empty闪退,原理是mHeaderLayout、mFooterLayout、mEmptyLayout在添加时设置的layoutParams与FlexboxLayoutManager不兼容。 崩溃日志: ``` java.lang.ClassCastException: androidx.recyclerview.widget.RecyclerView$LayoutParams cannot be cast to com.google.android.flexbox.FlexItem at com.google.android.flexbox.FlexboxHelper.calculateFlexLines(FlexboxHelper.java:447) at com.google.android.flexbox.FlexboxHelper.calculateHorizontalFlexLines(FlexboxHelper.java:249) at com.google.android.flexbox.FlexboxLayoutManager.updateFlexLines(FlexboxLayoutManager.java:960) at com.google.android.flexbox.FlexboxLayoutManager.onLayoutChildren(FlexboxLayoutManager.java:737) at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4604) at androidx.recyclerview.widget.RecyclerView.onMeasure(RecyclerView.java:3981) at android.view.View.measure(View.java:29420) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7068) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1608) at android.widget.LinearLayout.measureVertical(LinearLayout.java:878)...

大佬,您好。 在当今的数字环境中,开源软件(OSS)的安全性已成为紧迫的关注点。Linux 基金会的子基金会 Open Source Security Foundation(OpenSSF)多年来一直致力于提升 OSS 的安全性。Scorecard是OpenSSF 开发的一个有价值的工具。它为 OSS 项目提供了一套安全检查点。在对我们的项目进行 Scorecard 分析后,它发现了一些我们可以改进安全性的领域: ### 分支保护 启用分支保护规则和强制代码审查可以显著降低引入漏洞的风险。重要分支应该受到保护,因为它们不应该被误删除或强制推送。 您可以在“设置”-“分支”页面检查它,您可以单击“添加分支规则集”或“添加经典分支保护规则”来保护一个或多个分支。 ### CII 最佳实践徽章 未检测到任何获得 OpenSSF 最佳实践徽章 ### 代码检视 在30个变更集中发现了30个未审核的变更集 ### 依赖项更新工具 使用依赖项更新工具可确保您的项目使用最新的安全库版本...