Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to set auto refresh the jetpack compose preview?

I just started to use the Jetpack compose toolkit. I added the @Preview and a set showBackground = true, showSystemUi = true as parameters and it works really good. But every time i add or change something it doesn't auto refresh by itself, so i have to do it manually.

like image 672
Jimmy ALejandro Avatar asked Dec 06 '25 03:12

Jimmy ALejandro


1 Answers

as Raul text, padding and some other things update automatically, but **

make sure you have live edit of literals on

**.

But soon Live edit of composables, not just literals (Int, String, Dp...) will be available, : read more here

like image 176
Ricardo Junior Avatar answered Dec 08 '25 06:12

Ricardo Junior