r/androiddev • RevenueCat • Sep 12 '26

Compose Hot Reload for Android with its own interpreter, watch the whole screen change in seconds.

Compose Hot Reload v2.0.0 has been released: https://hotswan.dev/blog/compose-hotswan-2-0-release

v2 introduces Kotlin Multiplatform support for Android, iOS, and Desktop, with its dedicated interpreter that enables instant, full-screen updates on your running app.

AI agents have dramatically accelerated how fast we write and review code. Yet, the feedback loop of building, compiling, navigating to a specific screen, and previewing changes remains stuck in the past.

Compose HotSwan bridges the final gap that AI agents couldn't close: by rewriting entire screens on the fly, it instantly injects updates into a running app within seconds, eliminating the need to recompile, rebuild, reinstall, or manually re-navigate. Just watch your running app in real time as your AI writes your code.

93 Upvotes

7 comments sorted by

6

u/Dr_Zoidberg_MD Sep 12 '26

absolute mad lad

4

u/tgo1014 GitHub: Tgo1014 Sep 13 '26

Incredible as always, i have no idea how this is possible lol

3

u/OverallAd9984 Sep 13 '26

it’s like saving compose tree as JSON & then rendering with custom renderer/interpreter. I’ve done similar approach with WARP (write widget in compose for android & ios)

take a look at warp-runtime & warp-ui module

https://github.com/DevAtrii/Warp

2

u/kosiarska Sep 13 '26

Ok, but wondering about logic part. Do you remember Jrebel for android? Can I expect to change some logic in viewmodel and still hot reload or this is only for ui prototyping? If UI only it's still good actually. Ok, found out in the doc, actually impressive. Good that we mostly abandonded code generation libraries.

3

u/GodShaz Sep 13 '26

Get rid of the ai generated website. I'm in the main page and only technical thing your Claude wrote about it is that it's "a custom interpreter". Do you really think that gives confidence in your product? And "30 mins" for the normal path? really? What an exaggeration. Does not give confidence at all.

1

u/DutchPixels Sep 14 '26

Wanted to give this a try but the license information is stuck at "Initializing". Wanted to give the 14-day trial a go.

Tried different networks, different Android Studio installations (canary, beta & stable) but no luck unfortunately.