ribot / easy-adapter

[DEPRECATED] Easy Adapters library for Android
http://ribot.github.io
Apache License 2.0
421 stars 50 forks source link

Incorrect error when referencing the wrong type of view #15

Closed hitherejoe closed 9 years ago

hitherejoe commented 9 years ago

Within the ViewHolder, referencing the wrong view type (e.g. Declaring a TextView when you're referencing an ImageView) give's you the error message:

uk.co.ribot.easyadapter.InvalidViewHolderException: The ItemViewHolder class passed into the EasyAdapter is not valid, make sure it extends ItemViewHolder.