sergio-sastre/ComposablePreviewScanner

Add support for private previews

Closed this issue · 1 comments

It seems I was wrong and Classgraph could also scan private @previews

I'd like to extend the app to add support for private views accordingly. The default would not include private previews, but can be enabled with .includePrivatePreviews()

like this

AndroidComposablePreviewScanner()
    .scanPackageTrees("your.package", "your.package2")
    .includePrivatePreviews()
    .getPreviews()

Resolved in 0.1.3