romainbsl
11/08/2017, 3:03 PMprivate SimpleLongProperty id = bindGetter(RuleSet::getId, false, false);
I end up with an error message saying that `bindGetter`method has private access in tornado.ItemViewModel
. In the kotlin code I never saw private modifier on those method, so I don't understand what's happening here. Any ideas ?edvin
11/08/2017, 3:07 PM@JvmName("bindGetter")
annotation was there was to avoid duplicate functions and hence compilation issues due to type erasure. The only bind function you use is bind
, which has several overloads to support different types of properties, but they are not usable from Java as they are inline and use reified generics.romainbsl
11/08/2017, 3:09 PMedvin
11/08/2017, 3:11 PMedvin
11/08/2017, 3:13 PMromainbsl
11/08/2017, 3:18 PMwineluis
11/08/2017, 3:29 PMthomasnield
11/08/2017, 4:20 PMedvin
11/08/2017, 6:27 PMron
11/08/2017, 6:47 PMedvin
11/08/2017, 6:54 PMedvin
11/08/2017, 6:58 PMimdb.getActor()
with a null value, while your function definition requires a non null String. Since you haven't changed anything in the textfield, no value has been pushed to the model, so when you do actorname.value
it returns null as it should.ron
11/08/2017, 6:58 PMron
11/08/2017, 6:58 PMron
11/08/2017, 6:58 PMron
11/08/2017, 6:59 PMedvin
11/08/2017, 7:00 PMron
11/08/2017, 7:01 PMedvin
11/08/2017, 7:01 PMron
11/08/2017, 7:02 PMedvin
11/08/2017, 7:02 PMedvin
11/08/2017, 7:02 PMron
11/08/2017, 7:02 PMron
11/08/2017, 7:02 PMedvin
11/08/2017, 7:03 PMron
11/08/2017, 7:03 PMedvin
11/08/2017, 7:04 PMrunAsync(daemon = true)
), it exits cleanly.edvin
11/08/2017, 7:05 PMedvin
11/08/2017, 7:05 PMron
11/08/2017, 7:06 PM