Hey my favorite people, a quick question: I'm assu...
# tornadofx
s
Hey my favorite people, a quick question: I'm assuming leaving
reloadViewsOnFocus()
in the App init isn't best practice for production. Is there a guide somewhere on how best to update the UI when data changes? Or is using
reloadViewsOnFocus()
in production actually OK? For context, I'm trying to get my
SqueezeBox
to not collapse every time the window regains focus or its contents change. In Android I would do something like override the
onResume()
function within the View but I'm unclear of how to do it with JavaFX/TornadoFX.