eygraber
02/13/2023, 5:04 AMPreview
annotations?
For example, if I have a annotation class FontScalePreviews
annotated with a bunch of different @Preview
with fontScale
set, and a annotation class DensityScalePreviews
with a bunch of different @Preview
with device
set, can I create another annotation that merges those?mattinger
02/13/2023, 5:18 AMAlex Vanyo
02/13/2023, 5:38 PM@Preview
annotation will be rendered, and they won’t “cross-multiply” to apply combinations. That would be cool for `@Preview`s that have orthogonal parameters specified, but I’m not sure how you’d handle cases where multiply `@Preview`s specify the same conflicting parameter.
You would probably just have to make a new multi-preview annotation with the manual merging.eygraber
02/13/2023, 5:46 PM