October 22, 2024
Chicago 12, Melborne City, USA
Android

Preview in Jetpack Compose – should preview have their own file


I am new to Compose and especially to Preview. Is there any common pattern to how to manage Compose Preview functions ? Like should they have separate file for previews or be within the component they preview ? And how not to include them in Release build ?
Thanks!



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video