This commit is contained in:
Horis
2024-08-25 19:30:07 +08:00
parent d2ce85ad75
commit 8c989be881
2 changed files with 0 additions and 2 deletions
@@ -128,7 +128,6 @@ abstract class DiffRecyclerAdapter<ITEM, VB : ViewBinding>(protected val context
position: Int,
payloads: MutableList<Any>
) {
@Suppress("UNCHECKED_CAST")
registerListener(holder, (holder.binding as VB))
registerItemListener(holder)
getItem(holder.layoutPosition)?.let {
@@ -384,7 +384,6 @@ abstract class RecyclerAdapter<ITEM, VB : ViewBinding>(protected val context: Co
payloads: MutableList<Any>
) {
if (!isHeader(holder.layoutPosition) && !isFooter(holder.layoutPosition)) {
@Suppress("UNCHECKED_CAST")
registerListener(holder, (holder.binding as VB))
registerItemListener(holder)
getItemByLayoutPosition(holder.layoutPosition)?.let { item ->