-
Notifications
You must be signed in to change notification settings - Fork 282
🤖 Sync main to latest #662
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
Open
Parent:
Latest
compose-devrel-github-bot
wants to merge
101
commits into
latest
Choose a base branch
from
bot-sync-main
base: latest
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Refactor swipe-to-dismiss examples - Update TodoItem data class for better readability - Refactor the swipe item to improve the overall performance and readability - Refactor SwipeItemExample for better readability - Refactor SwipeCardItemExample and rename it to SwipeItemWithAnimationExample for better description - Modify the swipe to dismiss animation for better user experience - Add comments to make code easy to read * Apply Spotless --------- Co-authored-by: JolandaVerhoef <[email protected]>
* Add new and updated accessibility DAC snippets * Import hideFromAccessibility * Apply Spotless * Revert removal of some existing a11y snippets
* Migrate existing snippets to alpha04 * Add snippet for Session resume * Add SpatialExternalSurface snippet for xr-alpha04 and update SNAPSHOT build version. * Fix up Subspaces and Environments for alpha04 * Update SpatialExternalSurface example for xr-alpha04 * Add comments for SpatialExternalSurface in xr-alpha04 * Fix Anchor configuration snippet * Migrate to alpha04 (from snapshot build) --------- Co-authored-by: devbridie <[email protected]> Co-authored-by: Jan Kleinert <[email protected]>
* 🤖 Update Dependencies * revert the window dep update * Apply Spotless * Revert the revert * Suppress requiresSdk warnings * Suppress requiresSdk warnings * Revert xr deps --------- Co-authored-by: Simona Milanovic <[email protected]> Co-authored-by: simona-anomis <[email protected]>
* Update to 1.5.0-beta01 Change-Id: I5acad074c6dc067b10d37ff1416c671e7c9c91b9 * Apply Spotless --------- Co-authored-by: kul3r4 <[email protected]>
… completeness (#517) * Fix scrollState for List and expand the snippet to show kore code for completeness * Apply Spotless --------- Co-authored-by: kul3r4 <[email protected]>
* Properly handle recycling of RecomposeHighlighterModifier After migrating to be Node based, it's possible the Modifier node can be reused. For example, when scrolling in a LazyColumn the nodes of items scrolled off the viewport may be recycled and used with items scrolling into the viewport. When this occurs, the composition count needs to be reset. Otherwise, it may look like the item scrolling into the viewport has recomposed more than it actually has. * Fix code style
* State based TF snippets * Apply Spotless * updates * Apply Spotless * Update StateBasedText.kt * Update StateBasedText.kt * Update StateBasedText.kt * Update StateBasedText.kt * Apply Spotless
* Adding icon button snippets * Apply Spotless * Changing M3 extended icons to hardcoded drawables in IconButton code * Apply Spotless * Adding region tags * Remove unused import * Updating to hardcoded drawables * Apply Spotless --------- Co-authored-by: wardlauren <[email protected]>
* Adding snippet for MV-HEVC video playback * updating the resizable snippet to include ResizeListener
* Adding TextField migration snippets This is for the new version of https://developer.android.com/develop/ui/compose/text/user-input * Update TextFieldMigrationSnippets.kt optimize import * Apply Spotless --------- Co-authored-by: Halil Ozercan <[email protected]>
* Add state based Autofill snippets * Update AutofillSnippets.kt * Apply Spotless
* Update StateBasedText.kt Update state based TF snippets * Apply Spotless * Update StateBasedText.kt * Apply Spotless
* Add snippet that demonstrates how to detect a secondary hand * Add snippet to demonstrate how to detect a basic stop gesture
* Change SceneViewer intent setup
* updating setSubspaceContent snippet * Update Activity --------- Co-authored-by: Dereck Bridie <[email protected]>
* Update android_system_bar_protection_kotlin to change alpha * show less code in DAC * use Color.rgb instead
* Fix code to also support external apps * Sort chronologically the snippets * Move the Activity to be used without the nullability check --------- Co-authored-by: Rob Orgiu <[email protected]>
* Add comment to clarify that both callbacks can be used * Apply Spotless --------- Co-authored-by: Rob Orgiu <[email protected]> Co-authored-by: tiwiz <[email protected]>
* Adds Watch Face Push validation library snippet * Removed jar * Removes unnecessary statement
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
* 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
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
5baeff6 to
ee78bfb
Compare
…PI DAC. (#664) * This PR contains Snippets that will be hosted in the New Visibility API DAC.
ee78bfb to
18d09e2
Compare
…#667) * feat(ai): Fix flash image model and add remaining Imagen image editing snippets Region-Tag: android_gemini_developer_api_gemini_25_flash_image_model_java Region-Tag: android_imagen_model_configuration Region-Tag: android_imagen_vertex_model_configuration Region-Tag: android_imagen_generate_images Region-Tag: android_imagen_inpaint_insertion Region-Tag: android_imagen_inpaint_removal Region-Tag: android_imagen_editing_mask_editor Region-Tag: android_imagen_editing_create_mask Region-Tag: android_imagen_expand_image Region-Tag: android_imagen_replace_background Region-Tag: android_imagen_customize_subject Region-Tag: android_imagen_customize_control Region-Tag: android_imagen_customize_style * Restoring public documentation snippets for illustration purposes * Apply fixes to public documentation snippets This reverts commit a5837be.
18d09e2 to
138a83f
Compare
* Minor updates to snippets for doc restructuring Made the following changes: - Updated comments for clarity - Replaced random example values with placeholders - Added SignInJsonRequest * Initialize preferImmediatelyAvailableCredentials * Update PasskeyAndPasswordFunctions.kt * Update PasskeyAndPasswordFunctions.kt * Update libs.versions.toml * Update PasskeyAndPasswordFunctions.kt * Update PasskeyAndPasswordFunctions.kt * Update PasskeyAndPasswordFunctions.kt * Update PasskeyAndPasswordFunctions.kt * Update jsonSnippets.json * Minor updates to snippets for doc restructuring Made the following changes: - Updated comments for clarity - Replaced random example values with placeholders - Added SignInJsonRequest * Initialize preferImmediatelyAvailableCredentials * Update PasskeyAndPasswordFunctions.kt * Update PasskeyAndPasswordFunctions.kt * Update libs.versions.toml * Update PasskeyAndPasswordFunctions.kt * Update PasskeyAndPasswordFunctions.kt * Update PasskeyAndPasswordFunctions.kt * Update PasskeyAndPasswordFunctions.kt * Update jsonSnippets.json * Update jsonSnippets.json * Update jsonSnippets.json
138a83f to
fbc348c
Compare
fbc348c to
050c6d1
Compare
Resolves an import ambiguity by specifying `ComposeColor` and `AndroidColor` type aliases in the Imagen snippets. This change also cleans up unused imports and alphabetizes the remaining ones.
050c6d1 to
57b4d4d
Compare
57b4d4d to
e250f47
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update
latestwithmain