bluelinelabs / bluelinelabs/Conductor

Controller doesn't get attached after configuration change

Open
#529 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.9k
Forks
338
PR merge metrics
No merged PRs in 30d

Description

Whenever configuration change happens, router comes back with all of the controllers in the backstack, but none of them get attached. I've noticed that the controller flags attached and needsAttach are both false after the config change. I'm guessing that's why none of the controllers get attached.

I have a pretty similar setup as in the demo project, I just don't have a root controller.

I am not using any child controllers or anything like that. 1 activity with a router, and i'm just pushing some controllers onto there.

Contributor guide

Open the contributing guide

Research direction

Reproduce the configuration change with one Activity, a Router, and pushed controllers, without child or root controllers. Inspect the restored backstack and the attached and needsAttach flags; the issue is done when the controllers are attached again after the configuration change.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.