Shan
01/11/2019, 4:09 PMreloadViewsOnFocus()
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.