I rather hope that there will be a Flutter/React like API based on a Kotlin DSL that is cross platform. That it is also possible to mix it with native UI elements which is not possible in Flutter. It should be possible to create one based on Yoga on native and Android (https://yogalayout.com which is also used by React Native) and with CSS on web.
☝️ 1
➕ 3
Jurriaan Mous
08/09/2018, 7:23 AM
Maybe there could be a prototype which works with React Native and ReactDOM which later gets a native implementation?
Jurriaan Mous
08/09/2018, 7:24 AM
Some people already experimented with a Kotlin React implementation.
https://www.youtube.com/watch?v=eR4LjL1h6cE▾
Jurriaan Mous
08/09/2018, 7:25 AM
Better all the way Kotlin than to mix Kotlin and Dart 😮
➕ 1
💯 1
p
pabl0rg
08/09/2018, 5:24 PM
Thanks for sharing that video. I think that’s a great approach for Kotlin in general.
j
josephivie
08/09/2018, 7:38 PM
I'm currently working on just that, though it's using linear layouts as its layout basis. It's going to be done within the next couple of months (we have a project we're going to be using it on) and I already have desktop and Android working, with web in progress and iOS planned. I'll be posting it here when I have it.
👍 1
j
Jurriaan Mous
08/09/2018, 7:59 PM
Sounds great! Please let us know! 😄
p
pabl0rg
08/11/2018, 4:30 PM
Someone made a Rust wrapper for yoga. Something similar in Kotlin might be a step in the right direction. https://github.com/bschwind/yoga-rs