feature edit exception message in DelegatesManager.getItemViewType
This commit is contained in:
parent
9ba29038b0
commit
f63fdeab8d
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue