mvvmFX icon indicating copy to clipboard operation
mvvmFX copied to clipboard

Can we use this library without fxml library?

Open lvxingtu opened this issue 4 years ago • 2 comments

Now fxml is a optional dependency for javafx, If I doesn't download fxml dependency, can I use this library safely?

lvxingtu avatar Nov 25 '20 10:11 lvxingtu

I believe it is necessary to be downloading and adding javafx in to your project, I use java 11 and because of that I also need to export and open javafx to jfoenix in vm options

JhonnySalles avatar Nov 25 '20 14:11 JhonnySalles

It's possible to use mvvmFX without FXML files but I'm not sure if it works without the dependency. The library itself is not using the module system (there is no module-info). The code to load FXML bases views and java-code based views is separated into different classes so I think it should work during runtime but I haven't tested it.

manuel-mauky avatar Dec 11 '20 19:12 manuel-mauky