You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases it would be useful to be able to inject the primary stage.
For example when you create a new window you need the root stage to initialize the owner and modality.
The text was updated successfully, but these errors were encountered:
With commit b9b63c3 this is implemented for CDI. I've introduced a method makePrimaryStageInjectable in the MvvmfxCdiApplication class, that can be called from the start method.
Making the default start method in the MvvmfxCdiApplication class final and do the init logic for primary Stage injection there instead of the old `makePrimaryStageInjectable` method.
This way it's not the task of the user anymore to think about injection of the primary stage.
Instead of the default `start` method we have now a new `startMvvmfx` method. This is equal to the mvvmfx-guice module. See issue #136 for a discussion of this change
In some cases it would be useful to be able to inject the primary stage.
For example when you create a new window you need the root stage to initialize the owner and modality.
The text was updated successfully, but these errors were encountered: