|
|
@ -108,6 +108,7 @@ class ImportBookActivity : VMBaseActivity<ActivityImportBookBinding, ImportBookV |
|
|
|
@SuppressLint("NotifyDataSetChanged") |
|
|
|
@SuppressLint("NotifyDataSetChanged") |
|
|
|
override fun onClickSelectBarMainAction() { |
|
|
|
override fun onClickSelectBarMainAction() { |
|
|
|
viewModel.addToBookshelf(adapter.selectedUris) { |
|
|
|
viewModel.addToBookshelf(adapter.selectedUris) { |
|
|
|
|
|
|
|
adapter.selectedUris.clear() |
|
|
|
adapter.notifyDataSetChanged() |
|
|
|
adapter.notifyDataSetChanged() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|