CymChad / CymChad/BaseRecyclerViewAdapterHelper
ppw adapter只显示一条数据
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
从2.9.40升级到3.0.6之后,ppw里的adapter数据显示不全。2.9版本整常。
伪代码如下:
PopupWindow ppw= new PopupWindow(WindowManager.LayoutParams.MATCH_PARENT,
WindowManager.LayoutParams.MATCH_PARENT);
View contentView = LayoutInflater.from(context).inflate(R.layout.ppw, null);
RecyclerView mRecyclerView = contentView.findViewById(R.id.mRecyclerView);
Adapter adapter = new Adapter (list);
mRecyclerView.setAdapter(adapter);
此时传入的list的size为10。
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 by reproducing the reported setup with PopupWindow, RecyclerView, and an Adapter using a list of 10 items, comparing behavior between versions 2.9.40 and 3.0.6. Trace the adapter and RecyclerView entry points involved in rendering inside the PopupWindow; done means all 10 items display as they did in 2.9.40.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100