mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-28 06:01:01 +00:00
paging out of bounds exception
This commit is contained in:
@@ -176,6 +176,7 @@ class NovelExtensionAdapter(private val clickListener: OnNovelInstallClickListen
|
||||
|
||||
init {
|
||||
binding.closeTextView.setOnClickListener {
|
||||
if (bindingAdapterPosition == RecyclerView.NO_POSITION) return@setOnClickListener
|
||||
val extension = getItem(bindingAdapterPosition)
|
||||
if (extension != null) {
|
||||
clickListener.onInstallClick(extension)
|
||||
|
||||
Reference in New Issue
Block a user