Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Ramon8755/snippets
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 73e600d
Choose a base ref
...
head repository: android/snippets
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3d8d466
Choose a head ref
  • 20 commits
  • 140 files changed
  • 9 contributors

Commits on Sep 16, 2025

  1. Configuration menu
    Copy the full SHA
    1da1d9d View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2025

  1. Configuration menu
    Copy the full SHA
    2f246fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2e40ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27c462c View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2025

  1. add Glance unit testing snippet (android#634)

    * add Glance unit testing snippet
    
    * Apply Spotless
    ashnohe authored Sep 29, 2025
    Configuration menu
    Copy the full SHA
    e8e51b3 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2025

  1. Configuration menu
    Copy the full SHA
    0ce9349 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2025

  1. Configuration menu
    Copy the full SHA
    3e4a6ce View commit details
    Browse the repository at this point in the history
  2. Apply Spotless to root project and exclude spotless dir (android#636)

    * Apply Spotless to root project and exclude spotless dir
    
    Apply the Spotless configuration to `allprojects` instead of `subprojects` so that the root project is also included.
    
    Exclude the `spotless/` directory from Kotlin and XML formatting to prevent the license header from being applied to itself.
    cartland authored Oct 7, 2025
    Configuration menu
    Copy the full SHA
    ecfd991 View commit details
    Browse the repository at this point in the history
  3. 🤖 Update Dependencies (android#623)

    * 🤖 Update Dependencies
    
    * Change :views module to point to mdkSdk 36
    
    * Change XR module to use targetSdk and compileSdk from central libs file.
    
    * Update to java v25
    
    * Refactor: Update Compose snippets and dependencies
    
    This commit includes the following changes:
    
    - Updated various Compose snippets to align with recent API changes:
        - Replaced `Mdc3Theme` with standard Material 3 Theming.
        - Removed `LocalUseFallbackRippleImplementation` as its not available in latest versions.
        - Replaced `Divider` with `HorizontalDivider`.
        - Updated `ClickableText` to use `Text` with a `clickable` modifier.
        - Removed `ContextualFlowLayoutExample` as `ContextualFlowRow` is deprecated.
        - Updated `pullToRefreshIndicator` to `pullToRefresh`.
        - Removed `caretSize` from `TooltipBox` as it is no longer available.
        - Replaced `TabRow` with `PrimaryTabRow`.
    - Updated Gradle wrapper to version 9.1.0.
    - Updated various library versions in `libs.versions.toml`, including `androidx-xr` libraries.
    - Corrected import for `hiltViewModel`.
    
    * 🤖 Update Dependencies
    
    * Update views compileSdk
    
    * Update compile Sdk to 36
    
    * Update gradle-wrapper.properties
    
    * Update gradle-wrapper.properties
    
    * add ktlint back
    
    * update xr
    
    * exclude copyright folder
    
    * Fix java versions.
    
    * Fix watchface push
    
    ---------
    
    Co-authored-by: Rebecca Franks <[email protected]>
    Co-authored-by: Meghan <[email protected]>
    3 people authored Oct 7, 2025
    Configuration menu
    Copy the full SHA
    c4096d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2025

  1. add widgets metrics api snippet (android#641)

    * add widgets metrics api snippet
    ashnohe authored Oct 8, 2025
    Configuration menu
    Copy the full SHA
    5f1fd02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73156c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2025

  1. Configuration menu
    Copy the full SHA
    bd5988f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d96957 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d7da46 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2025

  1. Configuration menu
    Copy the full SHA
    3507dfb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcf8a03 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2025

  1. Configuration menu
    Copy the full SHA
    6c67e34 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2025

  1. Add Gemini Developer API code snippets (android#649)

    This commit introduces code snippets for the Gemini Developer API and Imagen APIs, with examples in both Kotlin and Java.
    
    These snippets support the following documentation:
    * https://developer.android.com/ai/gemini/developer-api
    * https://developer.android.com/ai/imagen
    cartland authored Oct 14, 2025
    Configuration menu
    Copy the full SHA
    7f45bcf View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2025

  1. Add new sample for Navigation Suite Scaffold icon alignment (android#635

    )
    
    * Add new sample for Navigation Suite Scaffold icon alignment
    
    * Fix region tag
    
    * Upgrade to Material 1.4.0 and to 1.5.0 to use the scaffold values
    
    * Fix tag entries
    tiwiz authored Oct 15, 2025
    Configuration menu
    Copy the full SHA
    75fbe7c View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2025

  1. Configuration menu
    Copy the full SHA
    3d8d466 View commit details
    Browse the repository at this point in the history
Loading