Skip to content

Releases: android/compose-samples

JetNews updated to dev08

03 Apr 16:46
fc789cb
Compare
Choose a tag to compare
Pre-release

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 with Modifier in dev09

JetNews updated to dev06

11 Mar 19:09
Compare
Choose a tag to compare
Pre-release

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

11 Mar 19:09
Compare
Choose a tag to compare
Pre-release

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