skip to Main Content

any idea to make android studio Jetpack compose auto refresh like Hot reload in Flutter it’s annoying! Is there Auto-refresh in Jetpack Compose viewer?

2

Answers


  1. Right now, compose does not support Hot reloads.
    But Literals values can be updated directly.

    Some supported types.

    Int

    String

    Color

    Dp

    Boolean

    enter image description here

    You can view constant literals that trigger real-time updates without the compilation step by enabling these highlighted values.

    enter image description here

    Reference

    Login or Signup to reply.
  2. When Android Studio Electric Eel becomes stable, Live Edit is enabled by default that acts as Hot Reload. Right now its still on preview.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search