Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinitialize Adapters for Different Pods #91

Closed
tomoguisuru opened this issue Jul 26, 2016 · 1 comment
Closed

Reinitialize Adapters for Different Pods #91

tomoguisuru opened this issue Jul 26, 2016 · 1 comment

Comments

@tomoguisuru
Copy link

We have a rather large app with a bunch of different pods under. Right now, I can pass the info in using lazy loading but only the info from the first loaded pod is used. Sounds crazy, right? (We're using Segment for this example)

Why would you do something like that you ask?

Because it would allow us to treat our pods like separate apps all living under the same umbrella with different and distinct tracking information. I'd really hate to have to split all our code into separate apps just to get the tracking info working as described.

I think it would be awesome if I could use the lazy loading technique to override an adapter instance with a new key when loading into a route.

Do you have any suggestions on how to accomplish this?

@briangonzalez
Copy link

@tomoguisuru Are you able to post some sample code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants