bluelinelabs / bluelinelabs/Conductor
Shared Element not working from ViewPager to Controller
- Dominant language
- Java
- Stars
- 3.9k
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Description
I made a simple project demonstrating the issue.
https://github.com/Pedramrn/conductor-shared-element-vp
This simple shared element works fine from View to View, however when I add the first View inside a `ViewPager` it doesn't work anymore, again it works fine from View ->` ViewPager` but not the other way around.
Also note adding it in the 2nd or 3rd positions inside `ViewPager` causes the ultimate weird behavior a flash with a long delay.
In my production app, animations works fine only if I add it to first position inside `ViewPager`, I couldn't reproduce that.
Contributor guide
Research direction
Start by running the linked conductor-shared-element-vp reproduction and compare shared-element transitions from a View to a ViewPager and back to a Controller. Check the behavior when the first, second, and third ViewPager positions are used. Done means the transition works in both directions without flashing or a long delay.
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
- Needs clarification
- Newbie friendliness
- 25/100