Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Jun 24, 2024
1 parent a3d9eea commit e4b069f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ internal class RvAdapterDelegate<M : IVhModelType> : IRvAdapterDelegate<M, Bindi
}

override fun onCreateVHForAll(binding: ViewDataBinding) {
error("Shouldn't call this in delegate.")
error("Should override this in your adapter.")
}

override fun onBindVHForAll(binding: ViewDataBinding, model: M, payloads: List<Any>) {
error("Shouldn't call this in delegate.")
error("Should override this in your adapter.")
}

/**
Expand Down

0 comments on commit e4b069f

Please sign in to comment.