修复滑动选择,选择数量不变的bug

pull/352/head
gedoor 4 years ago
parent b060d1e459
commit 5ec752e5fd
  1. 1
      app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceAdapter.kt
  2. 921
      app/src/main/java/io/legado/app/ui/widget/recycler/DragSelectTouchHelper.kt

@ -212,6 +212,7 @@ class BookSourceAdapter(context: Context, val callBack: CallBack) :
selected.remove(it) selected.remove(it)
} }
notifyItemChanged(position, bundleOf(Pair("selected", null))) notifyItemChanged(position, bundleOf(Pair("selected", null)))
callBack.upCountView()
return true return true
} }
return false return false

Loading…
Cancel
Save