@ -71,7 +71,7 @@ class ArrangeBookActivity : VMBaseActivity<ArrangeBookViewModel>(R.layout.activi
toast(R.string.non_select)
return@onClick
}
selectGroup()
@ -91,6 +91,10 @@ class ArrangeBookActivity : VMBaseActivity<ArrangeBookViewModel>(R.layout.activi
})
override fun selectGroup() {
override fun upSelectCount() {
cb_selected_all.isChecked = adapter.isSelectAll()
//重置全选的文字
@ -63,6 +63,9 @@ class ArrangeBookAdapter(context: Context, val callBack: CallBack) :
tv_delete.onClick {
callBack.deleteBook(item.bookUrl)
tv_group.onClick {
callBack.selectGroup()
@ -79,5 +82,6 @@ class ArrangeBookAdapter(context: Context, val callBack: CallBack) :
val groupList: List<BookGroup>
fun upSelectCount()
fun deleteBook(bookUrl: String)
fun selectGroup()