https://kotlinlang.org logo
Title
d

Dave

08/19/2020, 8:58 AM
When using Korge, does one have to define/create all the views up-front. Or can one dynamically add views to a scene whilst it is running ?
To extend that, what I am looking to do is add UI elements from a different thread.
I now have something tat works, but its not really clean. I will make some mods to Korge on a fork and pass a pull request.
d

Deactivated User

08/28/2020, 10:47 AM
You can add views dynamically, by either using the DSL with the actual instance or by constructing the instance and attaching it with
addChild
Have in mind that we are currently heavily working on KorGE 2.0