CymChad / CymChad/BaseRecyclerViewAdapterHelper

covert的BaseViewHolder对 getLayoutPosition引用调用找不到这个方法

Open
#3,615 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
24.6k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

问题:covert的BaseViewHolder对 getLayoutPosition引入调用找不到这个方法
调用依赖版本 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
(ps:以前是可以正常调用的,不知什么时候开始不行;我的mac电脑到现在依然可以,windows不可以)
我尝试解决(windows电脑下)

  1. 重新下载项目
  2. 把依赖升级3.0.7
  3. 把项目执行 Invalidate caches...
    结果依然全部失败,如下图

谢谢!

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the BaseViewHolder usage of getLayoutPosition and compare behavior with BaseRecyclerViewAdapterHelper versions 3.0.4 and 3.0.7 on Windows and macOS. Reproduce the missing-method error and inspect the dependency/API resolution; done means identifying the environment or version cause and documenting or fixing a reliable resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.