优化
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user