airbnb / Showkase

🔦 Showkase is an annotation-processor based Android library that helps you organize, discover, search and visualize Jetpack Compose UI elements
https://medium.com/airbnb-engineering/introducing-showkase-a-library-to-organize-discover-and-visualize-your-jetpack-compose-elements-d5c34ef01095
Apache License 2.0
2.11k stars 107 forks source link

Make multi-preview annotations not throw at compiletime #255

Closed oas004 closed 2 years ago

oas004 commented 2 years ago

This is the first PR in order for Showkase to support multi-preview annotations (annotations annotated with @Preview)(#233)

In this PR I have only made sure that consumers that are using multi-preview annotations can also use Showkase without compiletime failures. If the annotation processor faces such an issue, it will just skip it for now.

Leaving this as draft, as I have some questions about the validator function 😅

vinaygaba commented 2 years ago

cc @alexvanyo I'm working with Odin in getting Multi-preview support to Showkase.