Sola
05/18/2017, 7:38 PMthomasnield
05/18/2017, 7:39 PMthomasnield
05/18/2017, 7:40 PMthomasnield
05/18/2017, 7:41 PMlength
, and then prints it.thomasnield
05/18/2017, 7:41 PMthomasnield
05/18/2017, 7:41 PMSola
05/18/2017, 7:41 PMthomasnield
05/18/2017, 7:42 PMSola
05/18/2017, 7:42 PMthomasnield
05/18/2017, 7:42 PMSola
05/18/2017, 7:42 PMthomasnield
05/18/2017, 7:43 PMthomasnield
05/18/2017, 7:44 PMSola
05/18/2017, 7:44 PMtoObservable
?thomasnield
05/18/2017, 7:45 PMSola
05/18/2017, 7:45 PMvalueProperty
already implemented Observable
thomasnield
05/18/2017, 7:45 PMtoObservable()
will turn a JavaFX Property into an Observable
, which does all those cool stream mappingsthomasnield
05/18/2017, 7:45 PMObservable
type, the RxJava one.thomasnield
05/18/2017, 7:45 PMjava.util
.Sola
05/18/2017, 7:45 PMthomasnield
05/18/2017, 7:46 PMthomasnield
05/18/2017, 7:46 PMSola
05/18/2017, 7:47 PMthomasnield
05/18/2017, 7:47 PMSola
05/18/2017, 8:23 PMListView
etc.) ? I found that the controller
is lazy constructednimakro
05/18/2017, 8:45 PMController
and bind an observable-list to your listView and then load the file in the init
block of your Controller
and after you loaded the data you populate the observable list. Just make sure to run the loading in a separate task so the ui-thread is not blocked.Sola
05/18/2017, 8:46 PMlist
seems should be put in Model
object