bluelinelabs / bluelinelabs/Conductor
RecyclerView First Item Shared Element
- Dominant language
- Java
- Stars
- 3.9k
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Description
Shared element transition does not work for the first item in a RecyclerView if there is not any padding or margin.

Here is the commit on my fork that demonstrates this behavior 5503970d8
I have reproduced this with a simple RecyclerView and a Details page in a sample project too.
Contributor guide
Research direction
Start by reviewing commit 5503970d8 and the linked reproduction: compare the first RecyclerView item with later items when no padding or margin is present. Trace the shared element transition from the RecyclerView to the details page, then verify the fix against a simple RecyclerView and details-page sample.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100