cedric
03/04/2018, 4:31 AMlateinit
is very useful when your objects are being managed by a container, and containers typically separate object instantiation from object initializations. Some example containers would be Android, the servlet spec, and probably many others. Technically, lateinit
has nothing to do with Java and nothing to do with dependency injection.Ruckus
03/04/2018, 4:44 AM@FXML
in the question. Granted, that may be a limitation of my experience.Ruckus
03/04/2018, 4:46 AM