Funtik

Results 125 comments of Funtik

snippet of the code in which the problem is reproduced PS: I understand what the error is, but I want to make sure that it is not related to your...

the problem is tornadofx. Although it is not clear why it began to reproduce right now. Try polle low version of Kotlin 1.4 or 1.3. Here is the code that...

I think it is not worth closing, since the problem in the library has not been fixed

support javafx 9+ starts in Tornadofx2 https://github.com/edvin/tornadofx/tree/jdk10 . report bugs in https://github.com/edvin/tornadofx2. better ask questions here https://kotlinlang.slack.com/#tornadofx

I think not yet. DI at tornadofx would be worth revisiting

show how you change the data. Also, I can’t understand why you need a data class Channels

updates do not happen because TreeView knows nothing about ObservableList changes

``` class Test : View("My View") { data class Channels( val channel: Channel? = null ) data class Channel( val id: String? = null, val name: String? = null, val...

It might look something like this ``` data class ChannelTreeModel( val id: String, val name: String, val children: ObservableList, val parent: ChannelTreeModel? = null ) val channels = observableListOf() fun...

you can create two models, as I did in the second example, there your model turns into a new one, which is easier to use, and for serialization / deserialization...