sialcasa / mvvmFX

an Application Framework for implementing the MVVM Pattern with JavaFX
Apache License 2.0
484 stars 105 forks source link

multiple call FluentViewLoader.fxmlView(XxxxView::class.java).load().view, cause Injected controls by @Fxml be covered #611

Closed zonowry closed 4 years ago

zonowry commented 4 years ago

I have two pages, using the same fxmlview, and added it to the VBox of each page through viewLoader.load() twice. Then something like the title says. (google translation)

my english is not good, sorry! and If this issue is not qualified, just close it.

zonowry commented 4 years ago

resolved, add @Scope("prototype") to the FxmlView