feature edit exception message in DelegatesManager.getItemViewType

This commit is contained in:
Sergey Vlasenko 2024-05-07 11:49:56 +03:00
parent 9ba29038b0
commit f63fdeab8d
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class DelegatesManager {
return delegate.itemViewType
}
}
throw IllegalStateException("Delegate not found for adapterPosition: $adapterPosition")
throw IllegalStateException("Delegate not found for ${items[adapterPosition]?.javaClass?.canonicalName}")
}
fun getItemId(items: List<*>, adapterPosition: Int, collectionPosition: Int): Long {