CymChad / CymChad/BaseRecyclerViewAdapterHelper

同时设置emptyview和footerview,未满一屏幕,会使recycleview可以上下滑动.

Open
#3,354 3 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

emptyview和footerview高度加起来未满一屏幕,会使recycleview可以上下滑动.

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

Reproduce the Android RecyclerView case described by the issue: configure both an empty view and a footer whose combined height is less than one screen, then check whether the list can scroll vertically. No source file or test is named, so begin by locating the empty-view and footer handling in the adapter and its RecyclerView tests. Done means the short combined views no longer permit unintended scrolling.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.