Are multipreview annotations broken in Canary 8 of...
# compose
z
Are multipreview annotations broken in Canary 8 of Android Studio? I keep getting
Only composable methods can be annotated with Preview
. Usage in 🧵
Copy code
@Preview(group = "Wear")
annotation class WearPreview
c
cc @amaury
z
Sorry, seems to be an issue with Showkase! Right now, the Showkase process throws an exception of "Only composable methods can be annotated with Preview" upon seeing a custom annotation annotated with
@Preview
.
s
Maybe worth either pinging the library author or making an issue on GitHub so that he’s aware? Sounds like a pretty important thing to fix if it’s broken for the entire Canary 8 AS version.
z
@Stylianos Gakis it's been reported already, I was just too lazy to include the link to it here 🙈
🙈 2
v
I have this on my radar! Just need to spend some time in removing this check. Multi preview support is going to be a substantial project but I want to start by at least removing this validation check and unblocking y'all. I'll have that done this weekend or something!
👍🏽 1
K 1
🙏 1