CymChad / CymChad/BaseRecyclerViewAdapterHelper
ClassCastException
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
项目用的旧版,2.x,想用databinding,起初升级3.x,项目全报错,查了查决定放弃。
用2.x自己写了viewhoder ,又崩溃,java.lang.ClassCastException: com.chad.library.adapter.base.BaseViewHolder cannot be cast to
看了一下午issues , 混淆,内部类,静态外部类,各种方法都试过,还是崩溃。
一下午时间没了,决定放弃,不用databinding了,有好的解决办法的留个言,谢谢,等不忙了再试试,今天一下午脑袋都崩溃了。。。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the 2.x databinding setup and custom ViewHolder described in the issue, then reproduce the reported ClassCastException using the available project configuration. No file, test, or entry point is provided, so completion would require a minimal reproducible case and a confirmed supported configuration or a clearly documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100