CymChad / CymChad/BaseRecyclerViewAdapterHelper

个人建议

Open
#3,526 1 comment 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

在 我们继承BaseQuickAdapter 重写 convert 的时候,其实 更希望暴露一个可以带 当前真实位置position(的convert方法,因为现在没有暴露position的话,这个方法,对于那些不喜欢些ItemDecoration的人而言,可能控制显示与隐藏 有时候是一个更为简便的方法,此时就需要positon了。亦或者是那些很简单的decoration 不想自定义,也可以根据position来控制

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 by reading BaseQuickAdapter and the convert override described in the issue. Determine how the current item position is obtained and whether exposing the real position fits the adapter API. Done means subclasses can use that position in convert for visibility or simple decoration decisions, with the relevant adapter behavior covered by tests if they exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.