This module is an extension for the MvvmFX framework that adds support for EasyDI as dependency injection framework.
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-easydi</artifactId>
<version>${mvvmfx-version}</version>
</dependency>
To create an application that is powered by EasyDI you have to extend MvvmfxEasyDIApplication
:
public class Starter extends MvvmfxEasyDIApplication{
public static void main(String...args){
launch(args);
}
@Override
public void startMvvmfx(Stage stage){
// your code to initialize the view.
}
}
Other supported dependency-injection frameworks are: