edvin
04/04/2017, 8:19 AMsetOnAction
is default for JavaFX, but we recently added action
as a shortcut. It hasn't been released yet, but we updated the guide perhaps a bit prematurely 🙂edvin
04/04/2017, 10:58 AMron
04/04/2017, 11:03 AMedvin
04/04/2017, 11:05 AMedvin
04/04/2017, 11:05 AMedvin
04/04/2017, 11:07 AMedvin
04/04/2017, 11:07 AMedvin
04/04/2017, 11:34 AMedvin
04/04/2017, 11:39 AMgtnarg
04/04/2017, 12:31 PMedvin
04/04/2017, 12:54 PMron
04/04/2017, 1:00 PMnimakro
04/04/2017, 2:47 PMconfig
helper let me know if it is any good what I did there🙈edvin
04/04/2017, 3:28 PMedvin
04/04/2017, 3:28 PMnimakro
04/04/2017, 3:29 PMron
04/04/2017, 3:39 PMIt fits▾
edvin
04/04/2017, 4:10 PMedvin
04/04/2017, 4:16 PMorElse
really "Kotlin"? It feels more like Java 8. ?:
usually is preferred in Kotlin, so I don't think we need those really. They are just more ways to say the same. While looking at this I got an other idea. Every Component already has a config
object, so what if the App
class also got one, and you could easily access the config
object of other Components? Then you could use the App
class's config object as a global config store, without needing a Context. Inside a Component, config
would always point to the current config, and you could access other classes config object via something like config<MyApp>
or something. I haven't thought this through yet, just got the idea while reading.edvin
04/04/2017, 4:17 PMconfigBasePath
and configPath
is a little confusing.edvin
04/04/2017, 4:25 PMnimakro
04/04/2017, 4:26 PM?:
... Yeah I don't mind if we get rid of the Context... I would agree that the configBasePath
and configPath
vals are not the best, the idea was to allow to customize the target file but can't change it more then once... we could also get rid of configBasePath
and just have every component
specify there own path if needed.edvin
04/04/2017, 4:26 PMedvin
04/04/2017, 4:26 PMedvin
04/04/2017, 4:27 PMedvin
04/04/2017, 4:27 PMnimakro
04/04/2017, 4:29 PMedvin
04/04/2017, 4:31 PMedvin
04/04/2017, 4:31 PM