bluelinelabs / bluelinelabs/Conductor
Controller.onAttach not called
- Dominant language
- Java
- Stars
- 3.9k
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Description
When I remove (`removeView()`) my child view container from the parent, then add (`addView()`) this instance again, the Controller.onAttach() not called. Moreover `onAttachedToWindow()` in child view container is called, but in `ViewAttachHandler` onViewAttachedToWindow also not called.
Contributor guide
Research direction
Start by tracing the removeView() and addView() lifecycle around the child view container, then compare onAttachedToWindow() with ViewAttachHandler.onViewAttachedToWindow and Controller.onAttach(). Reproduce the reported remove-and-readd sequence and verify that both attachment callbacks are invoked after the instance is added again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100