CymChad / CymChad/BaseRecyclerViewAdapterHelper

请问如何关闭缓存

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

场景业务需要。一个很长的无规律的提交数据的列表页面。。

我需要在提交的时候去验证必填是否填写。

现在的操作是在xml里面给必填的view加tag. 然后提交的时候在convert里面递归布局验证是否必填的填了。。

现在的问题是 列表过长后只会验证到当前屏幕的必填。。所以想问如何让滑出屏幕外的不缓存

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

The report mentions XML view tags, convert, and validation of a long list with off-screen rows, but names no files or tests. Start by reproducing the off-screen validation behavior and tracing the adapter's cache and recycling controls; done should be a confirmed supported configuration or a clearly scoped change that validates required fields across the whole list.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.