Hello guys! I have a question: I am writing a rela...
# tornadofx
p
Hello guys! I have a question: I am writing a relatively simple tornadofx application. I have a view, called A, in which the user creates some data. When the user is done, they click on the next button, which replaces my current view with a new one, called B. My problem is that B would need the data created in A, but I cannot find a way to do it when using the built-in replaceWith method for switching views. I am looking for a solution similar to how android handles passing data to new activities. Is there a way to do it elegantly without the need of public static shared variables? Or am I missing something?