the value changed at viewType++ is never used
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
Research direction
Locate ItemViewDelegateManager and inspect the addDelegate method shown in the issue, focusing on the viewType++ statement after the delegate is stored. Confirm the increment has no effect on subsequent behavior, remove the unused operation, and verify the project still builds and its existing tests pass.
Written by the indexing model from the issue text.
Description
public ItemViewDelegateManager<T> addDelegate(ItemViewDelegate<T> delegate)
{
int viewType = delegates.size();
if (delegate != null)
{
delegates.put(viewType, delegate);
viewType++;
}
return this;
}
ItemViewDelegateManager中的 viewType++;好像是多余的代码
- Dominant language
- Java
- Stars
- 4.7k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
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.
More from hongyangAndroid/baseAdapter
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
hongyangAndroid/baseAdapter#122 ·
-
含泪放弃维护了 Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
hongyangAndroid/baseAdapter#136 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
hongyangAndroid/baseAdapter#134 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
hongyangAndroid/baseAdapter#133 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
hongyangAndroid/baseAdapter#131 · 2 comments · 1 reaction ·
All issues in hongyangAndroid/baseAdapter
Similar issues
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/flink-agents#1156 ·
-
[source-shopify] FAILED bulk operation without partialDataUrl is silently treated as successful Openarea/connectors autoteam community connectors/source/shopify needs-triage team/use type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100