This commit is contained in:
Horis
2025-04-30 17:49:59 +08:00
parent 3d5618ff18
commit 908d27fdad
@@ -159,9 +159,11 @@ class BookSourceAdapter(
override fun onCurrentListChanged() { override fun onCurrentListChanged() {
callBack.upCountView() callBack.upCountView()
recyclerView.doOnLayout { recyclerView.doOnLayout {
handler.post {
notifyItemRangeChanged(0, itemCount, bundleOf("upSourceHost" to null)) notifyItemRangeChanged(0, itemCount, bundleOf("upSourceHost" to null))
} }
} }
}
private fun showMenu(view: View, position: Int) { private fun showMenu(view: View, position: Int) {
val source = getItem(position) ?: return val source = getItem(position) ?: return