Implementation of first version of non-interactive...
# compose-desktop
g
Implementation of first version of non-interactive preview in CfD 👀 https://github.com/JetBrains/compose-jb/pull/803/files
Please @Timo Drick, any news on hot reloading functionality?
o
It’s really WIP at the moment, but we really love to get it widely adopted
👍🏼 1
g
Please, @olonho, will the preview be inside the IDE, or exterior to the IDE?
o
Inside IDE
👍🏼 1
t
The prototype is working and can be used by everyone. Sorry but did not really continue to work on it yet. I doing this just in my spare time. Currently i try to figure out if it is possible to adapt this to Android. Because i am a professional Android developer. https://gitlab.com/compose1/livecomposable
👍🏼 1
My approach do also have some drawbacks to the preview (It is limited currently to one file). But other things are better than in the preview because it supports also loading images and doing stuff in the background.
👍🏼 1
g
Please, @Timo Drick, have you tried using the Preview and Live literals for Compose in Android Studio Beta?
t
Yes there it works. But in my opinion the problem is that it takes too long until changes are visible except for live literals. So i think it would be nice to have also this hotreload for running apps.
g
But please, is that not what Live literals do for Android?
t
As far as i understand that this are just some literals (strings or values) which will be replaced instantly but you can not change the composition of the UI which is important to fine tune it. Also it is not possible to change business logic. And the Preview is very limited. E.g.: it can not do downloads from the web.
g
OK, I see...