Kotlin Compose Tips — New Compose @Preview Annotations
I demo a couple new @Preview
annotations to help preview fonts, light & dark mode and different screen sizes. I show how to add them to an Android or KMP project. I also show a gotcha using Material 3 that there is no known fix for yet… (as of the time of this writing)
Note: This example is using Android, and this is the same annotations can be used for KMP for iOS or Desktop.
Link to Source Code
https://github.com/realityexpander/ComposePreviewAnnotations
Join the KMP Developers Group, it’s FREE!
Twitter/X: https://twitter.com/i/communities/1739883885658607808
FaceBook: https://www.facebook.com/groups/913147236893976
LinkedIn: https://www.linkedin.com/groups/14367209