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

Support multiple @Initialize annotations in one file #484

Closed
manuel-mauky opened this issue May 15, 2017 · 0 comments
Closed

Support multiple @Initialize annotations in one file #484

manuel-mauky opened this issue May 15, 2017 · 0 comments

Comments

@manuel-mauky
Copy link
Collaborator

With #475 (PR for #332) we introduced the possibility to use a new annotation @Initialize to mark a method in a viewModel so that it is invoced after injection of dependencies is done.

However, the first implementation in #475 only supports a single method with this annotation. Additionally, an existing public void initialize method was ignored when a method with the new annotation is present.

These limitations aren't useful or needed. We should support multiple initializer methods and the combination with the existing naming convention.

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

No branches or pull requests

1 participant