-
Notifications
You must be signed in to change notification settings - Fork 103
Fluent API for ViewLoader #82
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
Comments
With issue #64 we have added When creating the Fluent-API we need to take care that it is clear that a ViewLoader may not be reused after loading a view. Instead there needs to be a new viewLoader instance for every loading action. In the Fluent-API this can be archived. |
The FluentAPI could look something like this: ViewLoader.view(TestFxmlView.class).load();
ViewLoader.view(TestJavaView.class).withResources(resourceBundle).withRoot(root).withController(controller).load(); We need to decide which style of method naming we use. Additionally we have to decide what will happen with the existing ViewLoader.
|
Lets have a call on monday :-) |
… are now only available in an overloaded method.
The ViewLoader should get an optional fluent API so that the user are not forced to use the method with multiple params
The text was updated successfully, but these errors were encountered: