Releases: android/compose-samples
Releases · android/compose-samples
JetNews updated to dev08
Changes:
- Refactored modifiers to use fluent style throughout
- Switched to new use Icon and Image composables
- Switch to using IconButton where appropriate
- Updated Scaffolding to use IconButton for navigationIcon
- Removed vector helpers from sample that are now included in the library
- Update typography of code paragraphs to expand, and avoid setting background
on text in code blocks as alpha is not respected – use the background of the Box - Replaced all Container with Box
- General code cleanup to remove nesting that can be replaced with modifiers
- Moved Modifiers to first default argument to follow style
- Aligned bullets with baseline of text
- Sized bullets based on font scaling
- Removed many named arguments that were not required for readability
- Added note for bugfix related to font coloring requiring contentColor w/ link to b/143626708
- Use ColorFilter.tint to semantically tint vectors
- Continue using
Modifier.None
for default arguments which is the style in dev08, this is likely to be replaced withModifier
in dev09
JetNews updated to dev06
Changes:
- Removed deprecated calls to Draw
- Configured Kotlin compiler
- Added some missing @composable annotations (caught by new compiler)
- Update to use ImagePainter and cleanup modifier usage for images.
- Switch to contentColor for unselected topic buttons
JetNews updated to dev05
Changes:
- Bumped version
- Convert screens to use new Scaffold component
- Use modifiers for PostCardPopular instead of Space for margin
- Add @Preview throughout for various states and components
- Fixed all warnings
- Updated to new Ambient syntax