CymChad / CymChad/BaseRecyclerViewAdapterHelper
getMultiTypeDelegate().addItemType(WorkType, R.layout.item_notice);
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
getMultiTypeDelegate().addItemType(WorkType, R.layout.item_notice);
这样设置一种布局类型,在convert怎么隐藏这个布局呢,setgone之后,变空白,大小是有数据时候的大小,
怎么解决呢?还是不能隐藏
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 getMultiTypeDelegate().addItemType(WorkType, R.layout.item_notice) into the convert path and inspect how setGone affects the item view. Done means the WorkType layout can be hidden without leaving the original item height or blank space.
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
- 25/100