Steffen Funke
11/03/2021, 10:15 AM.dp
, RoundedCornerShape
,, etc. in some global space?
// some global .kt file
val cornerShape = RoundedCornerShape(3.dp)
val imageSizeLarge = 120.dp
...
Or does the Compose compiler take care of it, and we are free to reuse those same values all over the place?
Or are they so cheap to create that it is even encouraged to write them out each time?Zach Klippenstein (he/him) [MOD]
11/03/2021, 10:31 PM