mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/FxmlViewLoader.java
public <ViewType extends View<? extends ViewModelType>, ViewModelType extends ViewModel> ViewTuple<ViewType, ViewModelType> loadFxmlViewTuple(
            final String resource, ResourceBundle resourceBundle, final ViewType codeBehind, final Object root,
            ViewModelType viewModel, Context parentContext, Collection<Scope> providedScopes,
            List<BuilderFactory> builderFactories) {
        return loadFxmlViewTuple(
                null,
                resource,
                resourceBundle,
                codeBehind,
                root,
                viewModel,
                parentContext,
                providedScopes,
                builderFactories
                );

    }
public <ViewType extends View<? extends ViewModelType>, ViewModelType extends ViewModel> ViewTuple<ViewType, ViewModelType> loadFxmlViewTuple(
            final String resource, ResourceBundle resourceBundle, final ViewType codeBehind, final Object root,
            ViewModelType viewModel, Context parentContext, Collection<Scope> providedScopes,
            List<BuilderFactory> builderFactories) {
        return loadFxmlViewTuple(
                null,
                resource,
                resourceBundle,
                codeBehind,
                root,
                viewModel,
                parentContext,
                providedScopes,
                builderFactories
                );

    }
Load the viewTuple by the path of the fxml file.

@param resource
the string path to the fxml file that is loaded.
@param resourceBundle
the resourceBundle that is passed to the
{@link javafx.fxml.FXMLLoader}.
@param codeBehind
the controller instance that is passed to the
{@link javafx.fxml.FXMLLoader}
@param root
the root object that is passed to the
{@link javafx.fxml.FXMLLoader}
@param viewModel
the viewModel instance that is used when loading the
viewTuple.
@param <ViewType>
the generic type of the view.
@param <ViewModelType>
the generic type of the viewModel.
@param builderFactories a list of custom builder factories. may be <code>null</code>
@return the loaded ViewTuple.