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

Add life cycle method for initialization of ViewModels #185

Closed
manuel-mauky opened this issue Feb 23, 2015 · 0 comments
Closed

Add life cycle method for initialization of ViewModels #185

manuel-mauky opened this issue Feb 23, 2015 · 0 comments
Labels
Milestone

Comments

@manuel-mauky
Copy link
Collaborator

In Views the developer can use the initialize method to setup bindings to the ViewModel and for other initialization logic. We support this for pure java code Views too.

But at the moment there is nothing like this for ViewModels.

When the ViewModel has a method with the signature void initialize() we will invoke this method after all mvvmfx specific injection is done. At the moment we have no such injection features but in the future this can be usefull, for example for the injection of ResourceBundles (#176) and scopes (#154).

manuel-mauky added a commit that referenced this issue Feb 25, 2015
#185 add initialize lifecycle method for viewModels
@manuel-mauky manuel-mauky added this to the 1.1.0 milestone Apr 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant