Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Wear Tiles Previews #35

Open
sergio-sastre opened this issue Nov 2, 2024 · 0 comments
Open

Add support for Wear Tiles Previews #35

sergio-sastre opened this issue Nov 2, 2024 · 0 comments

Comments

@sergio-sastre
Copy link
Owner

sergio-sastre commented Nov 2, 2024

Wear Tile Previews are also a different dependency, androidx.wear.tiles.tooling.preview.Preview, and support a given set of properties:

  • name
  • group
  • locale
  • device (only wearables)
  • fontScale

Since they have AnnotationRetention.Binary, ComposablePreviewScanner can support them.
https://developer.android.com/training/wearables/tiles/preview

Moreover, such preview methods need to extend TilePreviewData

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant