Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

java.lang.IllegalArgumentException: No ItemViewDelegate added that matches position=3 in data source

Open
#112 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, java
Domain
mobile

Research direction

Start from the reported IllegalArgumentException when loading multiple item types and trace the ItemViewDelegate matching path, especially isForViewType. Reproduce the position=3 case with a multi-item data source, then determine why no delegate matches and verify the corrected behavior with a regression test.

Written by the indexing model from the issue text.

Description

java.lang.IllegalArgumentException: No ItemViewDelegate added that matches position=3 in data source

加载多个item,报的错
isForViewType这个不是用来判断 是否添加这个item吗

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

  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.

More from hongyangAndroid/baseAdapter

All issues in hongyangAndroid/baseAdapter

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.