CymChad / CymChad/BaseRecyclerViewAdapterHelper
我首次进入页面第一次加载数据时可以不显示空布局吗,而是在我请求完接口没数据才显示出来。现在是第一次进页面必然先显示一次空布局,体验很不好。
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
我首次进入页面第一次加载数据时可以不显示空布局吗,而是在我请求完接口没数据才显示出来。现在是第一次进页面必然先显示一次空布局,体验很不好。
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 tracing how the Android library renders its empty layout during the first data request, then follow the state change when that request completes. Done means the initial loading state does not show the empty layout, while a completed request with no data does.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100