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

Cannot use strings in model #4

Closed
dalexanco opened this issue Jan 20, 2014 · 1 comment
Closed

Cannot use strings in model #4

dalexanco opened this issue Jan 20, 2014 · 1 comment

Comments

@dalexanco
Copy link

All strings are in wizardpager but we cannot use a conext with getString because the initialization of the wizardmodel is static, so the application is not created yet :(

@suarezjulian
Copy link
Owner

You mean inside your wizard Model?, if you extend from AbstractWizardModel, which btw you should, you have a context (mContext), so you can use it to get your strings, and even cast it to your specific activity.

Just make sure you initialize the model with a correct context.

I'm gonna close this issue but feel free to reopen it or post a new one if you need to.

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