Skip to content
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

Latest #455

Closed
wants to merge 83 commits into from
Closed

Latest #455

wants to merge 83 commits into from

Conversation

JolandaVerhoef
Copy link
Contributor

No description provided.

arriolac and others added 30 commits January 24, 2024 11:55
* Add ripple snippets.

* Add new ripple APIs.

* Add snippets for interactions.

* Added more ripple snippets.

* Update foundation and material to 1.7.0-alpha01

* Fix snippet tag.

* Apply Spotless

---------

Co-authored-by: arriolac <[email protected]>
* Adding pip snippets to latest branch

* Apply Spotless

* Adding pip snippets to latest

---------

Co-authored-by: MagicalMeghan <[email protected]>
* Migrate recomposeHighlighter to Modifier.Node

* Apply Spotless

* Simplify recompose highlighter

* Apply Spotless

---------

Co-authored-by: Tomáš Mlynarič <[email protected]>
Co-authored-by: mlykotom <[email protected]>
* Add snippets for ContextualFlowRow

* Apply Spotless

* Update flow snippets

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>
Update Compose BOM to 2024.04.00

Co-authored-by: MagicalMeghan <[email protected]>
* Update libs.versions.toml (#251)

* Replace Graphics bitmap snippets with new Graphics Layer snippets.

* Replace Graphics bitmap snippets with new Graphics Layer snippets.

* Apply Spotless

---------

Co-authored-by: Simona <[email protected]>
Co-authored-by: riggaroo <[email protected]>
* add shared element snippets

* Apply Spotless

* Split snippets into different files.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>
bentrengrove and others added 26 commits September 3, 2024 10:05
* Fix text snippets in latest

* Apply Spotless
* Migrate CompositionLocal snippets to m3 (#321)

* Migrate Custom design system page to M3 (#325)

* Migrate Custom design system page to M3

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

---------

Co-authored-by: Ben Trengrove <[email protected]>
Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: riggaroo <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 2f34f3b)
(cherry picked from commit db5ffc0)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 5.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit d8ef2dd)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit cea0c7d)
* Set git config user for sync_main_latest workflow.

* Update PR description.

(cherry picked from commit ad9ffb0)
…ompose (#362) (#365)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
* Added two snippets for showcasing how to do Masking and Clipping in Compose (#362)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#366)

* Add Material Carousel (#363)

* Add Carousel

* Apply Spotless

* add to components

* Apply Spotless

* Clean up landing screens, using Scaffold and list items.

* Apply Spotless

* Review comments

---------

Co-authored-by: riggaroo <[email protected]>

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
* Added two snippets for showcasing how to do Masking and Clipping in Compose (#362)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#366)

* Add Material Carousel (#363)

* Add Carousel

* Apply Spotless

* add to components

* Apply Spotless

* Clean up landing screens, using Scaffold and list items.

* Apply Spotless

* Review comments

---------

Co-authored-by: riggaroo <[email protected]>

* Basic menu examples (#371)

* basic menu examples

* Make DropdownMenuWithDetails toggle expanded on click

* Apply Spotless

* Remove unneeded dependencies

* Remove unneeded imports

---------

Co-authored-by: jakeroseman <[email protected]>

* Filter chip dropdown menu (#375)

* Filter chip dropdown menu

* Apply Spotless

* Add example of date picker textfield opening picker dialog on click (#376)

* Add example of date picker textfield opening picker dialog on click

* Apply Spotless

* Add auto advance pager snippets (#377)

* Add auto advance pager snippets

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Tooltip component examples (#373)

* Tooltip component examples

* Apply Spotless

* Addressing PR comments

* use LaunchedEffect to fix tooltip bug

* Apply Spotless

* Updated content descriptions

---------

Co-authored-by: jakeroseman <[email protected]>

* Add pull to refresh snippets (#378)

* Add pull to refresh snippets

* Apply Spotless

* Remove LaunchedEffect workaround (#379)

* Remove LaunchedEffect workaround for library bug

* Apply Spotless

* Changed single var to val

---------

Co-authored-by: jakeroseman <[email protected]>

* Navigation drawer examples (#380)

* Basic navigation drawer examples

* Add previews

* Fix merge issue

* Apply Spotless

* rearrange functions

* Narrowing the examples to just the example with nested items

* Apply Spotless

* refactoring as dismissable drawer

* Fixing imports

* refactor, new region tags

* Renaming functions

* Apply Spotless

* Add horizontal padding to the drawer content

* Apply Spotless

* Make drawer content scrollable to make it work on small screens / landscape

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Snippets for keyboard input (#368)

* Add a sample code for Keyboard Shortcuts Helper

* Add a sample code for keyboard actions

* Fix the issue on casting a Context object into Activity

* Snippet for animated sorted list with add/remove buttons. (#381)

* Snippet for animated sorted list with add/remove buttons.

* Apply Spotless

* Simplify adding an item to displayedItems

* Use ViewModel to correctly extract business logic from UI

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Add basic segmented button examples (#383)

* Add basic segmented button examples

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Adding views snippets module with Generated Preview samples (#384)

* Adding views snippets module with Generated Preview samples

* fixup

---------

Co-authored-by: Summers Pittman <[email protected]>

* Adding top bar multi selection examples (#387)

* Adding top bar multi selection examples

* Apply Spotless

* Remember some vals

---------

Co-authored-by: jakeroseman <[email protected]>

* Include AppScaffold in navigation Snippet (#385)

* Animate image size on scroll (#390)

* Add animate image size on scroll example

* Add simple comments and rename some variables

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Add basic HTML text styling example (#389)

* Add basic HTML text styling example

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* 🤖 Update Dependencies (#391)

* 🤖 Update Dependencies

* Update compileSdk to 35

---------

Co-authored-by: Jolanda Verhoef <[email protected]>

* add in predictive back snippets for NavHost and predictive back handler (#394)

* add in predictive back snippets

* Apply Spotless

* add in basic predictivebackhandler composable example

* Apply Spotless

---------

Co-authored-by: trambui09 <[email protected]>

* Add region tags to auto advance pager examples (#398)

* Init Wear Tiles snippets (#400)

* Init Wear Tiles snippets

* Add snippet markers

* Add manifest snippet markers

* Rename manifest snippet markers

* Create misc module, add broadcast receiver snippets (#397)

* Create misc module, add broadcast receiver snippets

* Apply Spotless

* Add live search with FilterTextView example (#402)

* Add live search with FilterTextView example

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Add single option radio button example (#401)

* Add single option radio button example

* Apply Spotless

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* update to use type safe routes (#399)

* Migrated relevant MotionCompose snippets into snippets (#411)

* Migrated relevant MotionCompose snippets into snippets

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
Co-authored-by: Jake Roseman <[email protected]>
Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>
Co-authored-by: N. Shimizu <[email protected]>
Co-authored-by: Hoyt Summers Pittman <[email protected]>
Co-authored-by: Summers Pittman <[email protected]>
Co-authored-by: Chiara Chiappini <[email protected]>
Co-authored-by: Tram Bui <[email protected]>
Co-authored-by: trambui09 <[email protected]>
Co-authored-by: Michael Stillwell <[email protected]>
* Added two snippets for showcasing how to do Masking and Clipping in Compose (#362)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#366)

* Add Material Carousel (#363)

* Add Carousel

* Apply Spotless

* add to components

* Apply Spotless

* Clean up landing screens, using Scaffold and list items.

* Apply Spotless

* Review comments

---------

Co-authored-by: riggaroo <[email protected]>

* Basic menu examples (#371)

* basic menu examples

* Make DropdownMenuWithDetails toggle expanded on click

* Apply Spotless

* Remove unneeded dependencies

* Remove unneeded imports

---------

Co-authored-by: jakeroseman <[email protected]>

* Filter chip dropdown menu (#375)

* Filter chip dropdown menu

* Apply Spotless

* Add example of date picker textfield opening picker dialog on click (#376)

* Add example of date picker textfield opening picker dialog on click

* Apply Spotless

* Add auto advance pager snippets (#377)

* Add auto advance pager snippets

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Tooltip component examples (#373)

* Tooltip component examples

* Apply Spotless

* Addressing PR comments

* use LaunchedEffect to fix tooltip bug

* Apply Spotless

* Updated content descriptions

---------

Co-authored-by: jakeroseman <[email protected]>

* Add pull to refresh snippets (#378)

* Add pull to refresh snippets

* Apply Spotless

* Remove LaunchedEffect workaround (#379)

* Remove LaunchedEffect workaround for library bug

* Apply Spotless

* Changed single var to val

---------

Co-authored-by: jakeroseman <[email protected]>

* Navigation drawer examples (#380)

* Basic navigation drawer examples

* Add previews

* Fix merge issue

* Apply Spotless

* rearrange functions

* Narrowing the examples to just the example with nested items

* Apply Spotless

* refactoring as dismissable drawer

* Fixing imports

* refactor, new region tags

* Renaming functions

* Apply Spotless

* Add horizontal padding to the drawer content

* Apply Spotless

* Make drawer content scrollable to make it work on small screens / landscape

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Snippets for keyboard input (#368)

* Add a sample code for Keyboard Shortcuts Helper

* Add a sample code for keyboard actions

* Fix the issue on casting a Context object into Activity

* Snippet for animated sorted list with add/remove buttons. (#381)

* Snippet for animated sorted list with add/remove buttons.

* Apply Spotless

* Simplify adding an item to displayedItems

* Use ViewModel to correctly extract business logic from UI

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Add basic segmented button examples (#383)

* Add basic segmented button examples

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Adding views snippets module with Generated Preview samples (#384)

* Adding views snippets module with Generated Preview samples

* fixup

---------

Co-authored-by: Summers Pittman <[email protected]>

* Adding top bar multi selection examples (#387)

* Adding top bar multi selection examples

* Apply Spotless

* Remember some vals

---------

Co-authored-by: jakeroseman <[email protected]>

* Include AppScaffold in navigation Snippet (#385)

* Animate image size on scroll (#390)

* Add animate image size on scroll example

* Add simple comments and rename some variables

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Add basic HTML text styling example (#389)

* Add basic HTML text styling example

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* 🤖 Update Dependencies (#391)

* 🤖 Update Dependencies

* Update compileSdk to 35

---------

Co-authored-by: Jolanda Verhoef <[email protected]>

* add in predictive back snippets for NavHost and predictive back handler (#394)

* add in predictive back snippets

* Apply Spotless

* add in basic predictivebackhandler composable example

* Apply Spotless

---------

Co-authored-by: trambui09 <[email protected]>

* Add region tags to auto advance pager examples (#398)

* Init Wear Tiles snippets (#400)

* Init Wear Tiles snippets

* Add snippet markers

* Add manifest snippet markers

* Rename manifest snippet markers

* Create misc module, add broadcast receiver snippets (#397)

* Create misc module, add broadcast receiver snippets

* Apply Spotless

* Add live search with FilterTextView example (#402)

* Add live search with FilterTextView example

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Add single option radio button example (#401)

* Add single option radio button example

* Apply Spotless

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* update to use type safe routes (#399)

* Migrated relevant MotionCompose snippets into snippets (#411)

* Migrated relevant MotionCompose snippets into snippets

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Moving location permissions snippets to repo (#413)

* Moving location permissions snippets to repo

* Apply Spotless

* rationalize class names

* Fixing region tags

---------

Co-authored-by: jakeroseman <[email protected]>

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
Co-authored-by: Jake Roseman <[email protected]>
Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>
Co-authored-by: N. Shimizu <[email protected]>
Co-authored-by: Hoyt Summers Pittman <[email protected]>
Co-authored-by: Summers Pittman <[email protected]>
Co-authored-by: Chiara Chiappini <[email protected]>
Co-authored-by: Tram Bui <[email protected]>
Co-authored-by: trambui09 <[email protected]>
Co-authored-by: Michael Stillwell <[email protected]>
* Added two snippets for showcasing how to do Masking and Clipping in Compose (#362)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#366)

* Add Material Carousel (#363)

* Add Carousel

* Apply Spotless

* add to components

* Apply Spotless

* Clean up landing screens, using Scaffold and list items.

* Apply Spotless

* Review comments

---------

Co-authored-by: riggaroo <[email protected]>

* Basic menu examples (#371)

* basic menu examples

* Make DropdownMenuWithDetails toggle expanded on click

* Apply Spotless

* Remove unneeded dependencies

* Remove unneeded imports

---------

Co-authored-by: jakeroseman <[email protected]>

* Filter chip dropdown menu (#375)

* Filter chip dropdown menu

* Apply Spotless

* Add example of date picker textfield opening picker dialog on click (#376)

* Add example of date picker textfield opening picker dialog on click

* Apply Spotless

* Add auto advance pager snippets (#377)

* Add auto advance pager snippets

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Tooltip component examples (#373)

* Tooltip component examples

* Apply Spotless

* Addressing PR comments

* use LaunchedEffect to fix tooltip bug

* Apply Spotless

* Updated content descriptions

---------

Co-authored-by: jakeroseman <[email protected]>

* Add pull to refresh snippets (#378)

* Add pull to refresh snippets

* Apply Spotless

* Remove LaunchedEffect workaround (#379)

* Remove LaunchedEffect workaround for library bug

* Apply Spotless

* Changed single var to val

---------

Co-authored-by: jakeroseman <[email protected]>

* Navigation drawer examples (#380)

* Basic navigation drawer examples

* Add previews

* Fix merge issue

* Apply Spotless

* rearrange functions

* Narrowing the examples to just the example with nested items

* Apply Spotless

* refactoring as dismissable drawer

* Fixing imports

* refactor, new region tags

* Renaming functions

* Apply Spotless

* Add horizontal padding to the drawer content

* Apply Spotless

* Make drawer content scrollable to make it work on small screens / landscape

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Snippets for keyboard input (#368)

* Add a sample code for Keyboard Shortcuts Helper

* Add a sample code for keyboard actions

* Fix the issue on casting a Context object into Activity

* Snippet for animated sorted list with add/remove buttons. (#381)

* Snippet for animated sorted list with add/remove buttons.

* Apply Spotless

* Simplify adding an item to displayedItems

* Use ViewModel to correctly extract business logic from UI

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Add basic segmented button examples (#383)

* Add basic segmented button examples

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Adding views snippets module with Generated Preview samples (#384)

* Adding views snippets module with Generated Preview samples

* fixup

---------

Co-authored-by: Summers Pittman <[email protected]>

* Adding top bar multi selection examples (#387)

* Adding top bar multi selection examples

* Apply Spotless

* Remember some vals

---------

Co-authored-by: jakeroseman <[email protected]>

* Include AppScaffold in navigation Snippet (#385)

* Animate image size on scroll (#390)

* Add animate image size on scroll example

* Add simple comments and rename some variables

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Add basic HTML text styling example (#389)

* Add basic HTML text styling example

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* 🤖 Update Dependencies (#391)

* 🤖 Update Dependencies

* Update compileSdk to 35

---------

Co-authored-by: Jolanda Verhoef <[email protected]>

* add in predictive back snippets for NavHost and predictive back handler (#394)

* add in predictive back snippets

* Apply Spotless

* add in basic predictivebackhandler composable example

* Apply Spotless

---------

Co-authored-by: trambui09 <[email protected]>

* Add region tags to auto advance pager examples (#398)

* Init Wear Tiles snippets (#400)

* Init Wear Tiles snippets

* Add snippet markers

* Add manifest snippet markers

* Rename manifest snippet markers

* Create misc module, add broadcast receiver snippets (#397)

* Create misc module, add broadcast receiver snippets

* Apply Spotless

* Add live search with FilterTextView example (#402)

* Add live search with FilterTextView example

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Add single option radio button example (#401)

* Add single option radio button example

* Apply Spotless

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* update to use type safe routes (#399)

* Migrated relevant MotionCompose snippets into snippets (#411)

* Migrated relevant MotionCompose snippets into snippets

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Moving location permissions snippets to repo (#413)

* Moving location permissions snippets to repo

* Apply Spotless

* rationalize class names

* Fixing region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Use VerticalDivider in IntrinsicSnippets (#369)

Co-authored-by: Rebecca Franks <[email protected]>

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
Co-authored-by: Jake Roseman <[email protected]>
Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>
Co-authored-by: N. Shimizu <[email protected]>
Co-authored-by: Hoyt Summers Pittman <[email protected]>
Co-authored-by: Summers Pittman <[email protected]>
Co-authored-by: Chiara Chiappini <[email protected]>
Co-authored-by: Tram Bui <[email protected]>
Co-authored-by: trambui09 <[email protected]>
Co-authored-by: Michael Stillwell <[email protected]>
Co-authored-by: David Mendoza <[email protected]>
* Added two snippets for showcasing how to do Masking and Clipping in Compose (#362)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#366)

* Add Material Carousel (#363)

* Add Carousel

* Apply Spotless

* add to components

* Apply Spotless

* Clean up landing screens, using Scaffold and list items.

* Apply Spotless

* Review comments

---------

Co-authored-by: riggaroo <[email protected]>

* Basic menu examples (#371)

* basic menu examples

* Make DropdownMenuWithDetails toggle expanded on click

* Apply Spotless

* Remove unneeded dependencies

* Remove unneeded imports

---------

Co-authored-by: jakeroseman <[email protected]>

* Filter chip dropdown menu (#375)

* Filter chip dropdown menu

* Apply Spotless

* Add example of date picker textfield opening picker dialog on click (#376)

* Add example of date picker textfield opening picker dialog on click

* Apply Spotless

* Add auto advance pager snippets (#377)

* Add auto advance pager snippets

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Tooltip component examples (#373)

* Tooltip component examples

* Apply Spotless

* Addressing PR comments

* use LaunchedEffect to fix tooltip bug

* Apply Spotless

* Updated content descriptions

---------

Co-authored-by: jakeroseman <[email protected]>

* Add pull to refresh snippets (#378)

* Add pull to refresh snippets

* Apply Spotless

* Remove LaunchedEffect workaround (#379)

* Remove LaunchedEffect workaround for library bug

* Apply Spotless

* Changed single var to val

---------

Co-authored-by: jakeroseman <[email protected]>

* Navigation drawer examples (#380)

* Basic navigation drawer examples

* Add previews

* Fix merge issue

* Apply Spotless

* rearrange functions

* Narrowing the examples to just the example with nested items

* Apply Spotless

* refactoring as dismissable drawer

* Fixing imports

* refactor, new region tags

* Renaming functions

* Apply Spotless

* Add horizontal padding to the drawer content

* Apply Spotless

* Make drawer content scrollable to make it work on small screens / landscape

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Snippets for keyboard input (#368)

* Add a sample code for Keyboard Shortcuts Helper

* Add a sample code for keyboard actions

* Fix the issue on casting a Context object into Activity

* Snippet for animated sorted list with add/remove buttons. (#381)

* Snippet for animated sorted list with add/remove buttons.

* Apply Spotless

* Simplify adding an item to displayedItems

* Use ViewModel to correctly extract business logic from UI

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Add basic segmented button examples (#383)

* Add basic segmented button examples

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Adding views snippets module with Generated Preview samples (#384)

* Adding views snippets module with Generated Preview samples

* fixup

---------

Co-authored-by: Summers Pittman <[email protected]>

* Adding top bar multi selection examples (#387)

* Adding top bar multi selection examples

* Apply Spotless

* Remember some vals

---------

Co-authored-by: jakeroseman <[email protected]>

* Include AppScaffold in navigation Snippet (#385)

* Animate image size on scroll (#390)

* Add animate image size on scroll example

* Add simple comments and rename some variables

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Add basic HTML text styling example (#389)

* Add basic HTML text styling example

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* 🤖 Update Dependencies (#391)

* 🤖 Update Dependencies

* Update compileSdk to 35

---------

Co-authored-by: Jolanda Verhoef <[email protected]>

* add in predictive back snippets for NavHost and predictive back handler (#394)

* add in predictive back snippets

* Apply Spotless

* add in basic predictivebackhandler composable example

* Apply Spotless

---------

Co-authored-by: trambui09 <[email protected]>

* Add region tags to auto advance pager examples (#398)

* Init Wear Tiles snippets (#400)

* Init Wear Tiles snippets

* Add snippet markers

* Add manifest snippet markers

* Rename manifest snippet markers

* Create misc module, add broadcast receiver snippets (#397)

* Create misc module, add broadcast receiver snippets

* Apply Spotless

* Add live search with FilterTextView example (#402)

* Add live search with FilterTextView example

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Add single option radio button example (#401)

* Add single option radio button example

* Apply Spotless

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* update to use type safe routes (#399)

* Migrated relevant MotionCompose snippets into snippets (#411)

* Migrated relevant MotionCompose snippets into snippets

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Moving location permissions snippets to repo (#413)

* Moving location permissions snippets to repo

* Apply Spotless

* rationalize class names

* Fixing region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Use VerticalDivider in IntrinsicSnippets (#369)

Co-authored-by: Rebecca Franks <[email protected]>

* Add an example of Shared elements that are seekable using SeekableTransitionState (#416)

* Added seekable predictive back (redoing commit)

* Added seekable predictive back (redoing commit)

* spotless

* Delete SeekableSharedElement.kt

* Apply Spotless

* Add enableOnBackInvokedCallback

* Add comments and fix custom seeking predictive back example.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#427)

* Adding SearchBar examples (#408)

* Adding SearchBar examples

* Apply Spotless

* Add search bar examples to top compose examples

* Add content descriptions

* Delete shared/build/generated/res/pngs/debug/drawable-anydpi-v24/ic_launcher_foreground.xml

* remove errant build files from branch

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Rebecca Franks <[email protected]>

* Add Swipe to reveal examples (#412)

* Add Swipe to reveal examples

* Apply Spotless

* Adding swipe to dismiss examples to the top compose examples.

* Tidy up merge conflict errors

---------

Co-authored-by: jakeroseman <[email protected]>

* Add example usage of keyframesWithSplines (#430)

* Add example of keyframesWithSplines

* Apply Spotless

* PR Review comments.

* PR Review comments.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
Co-authored-by: Jake Roseman <[email protected]>
Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>
Co-authored-by: N. Shimizu <[email protected]>
Co-authored-by: Hoyt Summers Pittman <[email protected]>
Co-authored-by: Summers Pittman <[email protected]>
Co-authored-by: Chiara Chiappini <[email protected]>
Co-authored-by: Tram Bui <[email protected]>
Co-authored-by: trambui09 <[email protected]>
Co-authored-by: Michael Stillwell <[email protected]>
Co-authored-by: David Mendoza <[email protected]>
* Added two snippets for showcasing how to do Masking and Clipping in Compose (#362)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#366)

* Add Material Carousel (#363)

* Add Carousel

* Apply Spotless

* add to components

* Apply Spotless

* Clean up landing screens, using Scaffold and list items.

* Apply Spotless

* Review comments

---------

Co-authored-by: riggaroo <[email protected]>

* Basic menu examples (#371)

* basic menu examples

* Make DropdownMenuWithDetails toggle expanded on click

* Apply Spotless

* Remove unneeded dependencies

* Remove unneeded imports

---------

Co-authored-by: jakeroseman <[email protected]>

* Filter chip dropdown menu (#375)

* Filter chip dropdown menu

* Apply Spotless

* Add example of date picker textfield opening picker dialog on click (#376)

* Add example of date picker textfield opening picker dialog on click

* Apply Spotless

* Add auto advance pager snippets (#377)

* Add auto advance pager snippets

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Tooltip component examples (#373)

* Tooltip component examples

* Apply Spotless

* Addressing PR comments

* use LaunchedEffect to fix tooltip bug

* Apply Spotless

* Updated content descriptions

---------

Co-authored-by: jakeroseman <[email protected]>

* Add pull to refresh snippets (#378)

* Add pull to refresh snippets

* Apply Spotless

* Remove LaunchedEffect workaround (#379)

* Remove LaunchedEffect workaround for library bug

* Apply Spotless

* Changed single var to val

---------

Co-authored-by: jakeroseman <[email protected]>

* Navigation drawer examples (#380)

* Basic navigation drawer examples

* Add previews

* Fix merge issue

* Apply Spotless

* rearrange functions

* Narrowing the examples to just the example with nested items

* Apply Spotless

* refactoring as dismissable drawer

* Fixing imports

* refactor, new region tags

* Renaming functions

* Apply Spotless

* Add horizontal padding to the drawer content

* Apply Spotless

* Make drawer content scrollable to make it work on small screens / landscape

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Snippets for keyboard input (#368)

* Add a sample code for Keyboard Shortcuts Helper

* Add a sample code for keyboard actions

* Fix the issue on casting a Context object into Activity

* Snippet for animated sorted list with add/remove buttons. (#381)

* Snippet for animated sorted list with add/remove buttons.

* Apply Spotless

* Simplify adding an item to displayedItems

* Use ViewModel to correctly extract business logic from UI

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Add basic segmented button examples (#383)

* Add basic segmented button examples

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Adding views snippets module with Generated Preview samples (#384)

* Adding views snippets module with Generated Preview samples

* fixup

---------

Co-authored-by: Summers Pittman <[email protected]>

* Adding top bar multi selection examples (#387)

* Adding top bar multi selection examples

* Apply Spotless

* Remember some vals

---------

Co-authored-by: jakeroseman <[email protected]>

* Include AppScaffold in navigation Snippet (#385)

* Animate image size on scroll (#390)

* Add animate image size on scroll example

* Add simple comments and rename some variables

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Add basic HTML text styling example (#389)

* Add basic HTML text styling example

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* 🤖 Update Dependencies (#391)

* 🤖 Update Dependencies

* Update compileSdk to 35

---------

Co-authored-by: Jolanda Verhoef <[email protected]>

* add in predictive back snippets for NavHost and predictive back handler (#394)

* add in predictive back snippets

* Apply Spotless

* add in basic predictivebackhandler composable example

* Apply Spotless

---------

Co-authored-by: trambui09 <[email protected]>

* Add region tags to auto advance pager examples (#398)

* Init Wear Tiles snippets (#400)

* Init Wear Tiles snippets

* Add snippet markers

* Add manifest snippet markers

* Rename manifest snippet markers

* Create misc module, add broadcast receiver snippets (#397)

* Create misc module, add broadcast receiver snippets

* Apply Spotless

* Add live search with FilterTextView example (#402)

* Add live search with FilterTextView example

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Add single option radio button example (#401)

* Add single option radio button example

* Apply Spotless

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* update to use type safe routes (#399)

* Migrated relevant MotionCompose snippets into snippets (#411)

* Migrated relevant MotionCompose snippets into snippets

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Moving location permissions snippets to repo (#413)

* Moving location permissions snippets to repo

* Apply Spotless

* rationalize class names

* Fixing region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Use VerticalDivider in IntrinsicSnippets (#369)

Co-authored-by: Rebecca Franks <[email protected]>

* Add an example of Shared elements that are seekable using SeekableTransitionState (#416)

* Added seekable predictive back (redoing commit)

* Added seekable predictive back (redoing commit)

* spotless

* Delete SeekableSharedElement.kt

* Apply Spotless

* Add enableOnBackInvokedCallback

* Add comments and fix custom seeking predictive back example.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#427)

* Adding SearchBar examples (#408)

* Adding SearchBar examples

* Apply Spotless

* Add search bar examples to top compose examples

* Add content descriptions

* Delete shared/build/generated/res/pngs/debug/drawable-anydpi-v24/ic_launcher_foreground.xml

* remove errant build files from branch

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Rebecca Franks <[email protected]>

* Add Swipe to reveal examples (#412)

* Add Swipe to reveal examples

* Apply Spotless

* Adding swipe to dismiss examples to the top compose examples.

* Tidy up merge conflict errors

---------

Co-authored-by: jakeroseman <[email protected]>

* Add example usage of keyframesWithSplines (#430)

* Add example of keyframesWithSplines

* Apply Spotless

* PR Review comments.

* PR Review comments.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Update Advanced Focus Snippets to remove Deprecations (#432)

Co-authored-by: Rob Orgiu <[email protected]>

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
Co-authored-by: Jake Roseman <[email protected]>
Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>
Co-authored-by: N. Shimizu <[email protected]>
Co-authored-by: Hoyt Summers Pittman <[email protected]>
Co-authored-by: Summers Pittman <[email protected]>
Co-authored-by: Chiara Chiappini <[email protected]>
Co-authored-by: Tram Bui <[email protected]>
Co-authored-by: trambui09 <[email protected]>
Co-authored-by: Michael Stillwell <[email protected]>
Co-authored-by: David Mendoza <[email protected]>
Co-authored-by: Roberto Orgiu <[email protected]>
Co-authored-by: Rob Orgiu <[email protected]>
* Added two snippets for showcasing how to do Masking and Clipping in Compose (#362)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#366)

* Add Material Carousel (#363)

* Add Carousel

* Apply Spotless

* add to components

* Apply Spotless

* Clean up landing screens, using Scaffold and list items.

* Apply Spotless

* Review comments

---------

Co-authored-by: riggaroo <[email protected]>

* Basic menu examples (#371)

* basic menu examples

* Make DropdownMenuWithDetails toggle expanded on click

* Apply Spotless

* Remove unneeded dependencies

* Remove unneeded imports

---------

Co-authored-by: jakeroseman <[email protected]>

* Filter chip dropdown menu (#375)

* Filter chip dropdown menu

* Apply Spotless

* Add example of date picker textfield opening picker dialog on click (#376)

* Add example of date picker textfield opening picker dialog on click

* Apply Spotless

* Add auto advance pager snippets (#377)

* Add auto advance pager snippets

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Tooltip component examples (#373)

* Tooltip component examples

* Apply Spotless

* Addressing PR comments

* use LaunchedEffect to fix tooltip bug

* Apply Spotless

* Updated content descriptions

---------

Co-authored-by: jakeroseman <[email protected]>

* Add pull to refresh snippets (#378)

* Add pull to refresh snippets

* Apply Spotless

* Remove LaunchedEffect workaround (#379)

* Remove LaunchedEffect workaround for library bug

* Apply Spotless

* Changed single var to val

---------

Co-authored-by: jakeroseman <[email protected]>

* Navigation drawer examples (#380)

* Basic navigation drawer examples

* Add previews

* Fix merge issue

* Apply Spotless

* rearrange functions

* Narrowing the examples to just the example with nested items

* Apply Spotless

* refactoring as dismissable drawer

* Fixing imports

* refactor, new region tags

* Renaming functions

* Apply Spotless

* Add horizontal padding to the drawer content

* Apply Spotless

* Make drawer content scrollable to make it work on small screens / landscape

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Snippets for keyboard input (#368)

* Add a sample code for Keyboard Shortcuts Helper

* Add a sample code for keyboard actions

* Fix the issue on casting a Context object into Activity

* Snippet for animated sorted list with add/remove buttons. (#381)

* Snippet for animated sorted list with add/remove buttons.

* Apply Spotless

* Simplify adding an item to displayedItems

* Use ViewModel to correctly extract business logic from UI

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Add basic segmented button examples (#383)

* Add basic segmented button examples

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Adding views snippets module with Generated Preview samples (#384)

* Adding views snippets module with Generated Preview samples

* fixup

---------

Co-authored-by: Summers Pittman <[email protected]>

* Adding top bar multi selection examples (#387)

* Adding top bar multi selection examples

* Apply Spotless

* Remember some vals

---------

Co-authored-by: jakeroseman <[email protected]>

* Include AppScaffold in navigation Snippet (#385)

* Animate image size on scroll (#390)

* Add animate image size on scroll example

* Add simple comments and rename some variables

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Add basic HTML text styling example (#389)

* Add basic HTML text styling example

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* 🤖 Update Dependencies (#391)

* 🤖 Update Dependencies

* Update compileSdk to 35

---------

Co-authored-by: Jolanda Verhoef <[email protected]>

* add in predictive back snippets for NavHost and predictive back handler (#394)

* add in predictive back snippets

* Apply Spotless

* add in basic predictivebackhandler composable example

* Apply Spotless

---------

Co-authored-by: trambui09 <[email protected]>

* Add region tags to auto advance pager examples (#398)

* Init Wear Tiles snippets (#400)

* Init Wear Tiles snippets

* Add snippet markers

* Add manifest snippet markers

* Rename manifest snippet markers

* Create misc module, add broadcast receiver snippets (#397)

* Create misc module, add broadcast receiver snippets

* Apply Spotless

* Add live search with FilterTextView example (#402)

* Add live search with FilterTextView example

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Add single option radio button example (#401)

* Add single option radio button example

* Apply Spotless

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* update to use type safe routes (#399)

* Migrated relevant MotionCompose snippets into snippets (#411)

* Migrated relevant MotionCompose snippets into snippets

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Moving location permissions snippets to repo (#413)

* Moving location permissions snippets to repo

* Apply Spotless

* rationalize class names

* Fixing region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Use VerticalDivider in IntrinsicSnippets (#369)

Co-authored-by: Rebecca Franks <[email protected]>

* Add an example of Shared elements that are seekable using SeekableTransitionState (#416)

* Added seekable predictive back (redoing commit)

* Added seekable predictive back (redoing commit)

* spotless

* Delete SeekableSharedElement.kt

* Apply Spotless

* Add enableOnBackInvokedCallback

* Add comments and fix custom seeking predictive back example.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#427)

* Adding SearchBar examples (#408)

* Adding SearchBar examples

* Apply Spotless

* Add search bar examples to top compose examples

* Add content descriptions

* Delete shared/build/generated/res/pngs/debug/drawable-anydpi-v24/ic_launcher_foreground.xml

* remove errant build files from branch

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Rebecca Franks <[email protected]>

* Add Swipe to reveal examples (#412)

* Add Swipe to reveal examples

* Apply Spotless

* Adding swipe to dismiss examples to the top compose examples.

* Tidy up merge conflict errors

---------

Co-authored-by: jakeroseman <[email protected]>

* Add example usage of keyframesWithSplines (#430)

* Add example of keyframesWithSplines

* Apply Spotless

* PR Review comments.

* PR Review comments.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Update Advanced Focus Snippets to remove Deprecations (#432)

Co-authored-by: Rob Orgiu <[email protected]>

* Replaced deprecated WindowHeightSizeClass with isHeightAtLeastBreakpoint(). (#419)

* Replaced deprecated WindowHeightSizeClass with isHeightAtLeastBreakpoint.

* Apply Spotless

* Replaced deprecated WindowHeightSizeClass with isHeightAtLeastBreakpoint.

* Updated androidx-window to 1.4.0-alpha05.

---------

Co-authored-by: JonEckenrode <[email protected]>

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
Co-authored-by: Jake Roseman <[email protected]>
Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>
Co-authored-by: N. Shimizu <[email protected]>
Co-authored-by: Hoyt Summers Pittman <[email protected]>
Co-authored-by: Summers Pittman <[email protected]>
Co-authored-by: Chiara Chiappini <[email protected]>
Co-authored-by: Tram Bui <[email protected]>
Co-authored-by: trambui09 <[email protected]>
Co-authored-by: Michael Stillwell <[email protected]>
Co-authored-by: David Mendoza <[email protected]>
Co-authored-by: Roberto Orgiu <[email protected]>
Co-authored-by: Rob Orgiu <[email protected]>
Co-authored-by: Jon Eckenrode <[email protected]>
Co-authored-by: JonEckenrode <[email protected]>
* Added two snippets for showcasing how to do Masking and Clipping in Compose (#362)

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Code snippet for Compose doc at https://developer.android.com/quick-guides/content/animate-text?hl=en (Animate text character-by-character).

This commit slightly modifies (makes buildable in our repo) the existing code on the current DAC page.

That code, in turn, was BNR's simplified version of Xoogler astamato's Medium article at https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5

* Apply Spotless

* Fix email input snippet

* Migrate to use BasicSecureTextField.

* Updated to use BasicSecureTextField.

* Added clipping and faded edge examples

* Apply Spotless

* Clean up snippet

* Clean up snippet

---------

Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#366)

* Add Material Carousel (#363)

* Add Carousel

* Apply Spotless

* add to components

* Apply Spotless

* Clean up landing screens, using Scaffold and list items.

* Apply Spotless

* Review comments

---------

Co-authored-by: riggaroo <[email protected]>

* Basic menu examples (#371)

* basic menu examples

* Make DropdownMenuWithDetails toggle expanded on click

* Apply Spotless

* Remove unneeded dependencies

* Remove unneeded imports

---------

Co-authored-by: jakeroseman <[email protected]>

* Filter chip dropdown menu (#375)

* Filter chip dropdown menu

* Apply Spotless

* Add example of date picker textfield opening picker dialog on click (#376)

* Add example of date picker textfield opening picker dialog on click

* Apply Spotless

* Add auto advance pager snippets (#377)

* Add auto advance pager snippets

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Tooltip component examples (#373)

* Tooltip component examples

* Apply Spotless

* Addressing PR comments

* use LaunchedEffect to fix tooltip bug

* Apply Spotless

* Updated content descriptions

---------

Co-authored-by: jakeroseman <[email protected]>

* Add pull to refresh snippets (#378)

* Add pull to refresh snippets

* Apply Spotless

* Remove LaunchedEffect workaround (#379)

* Remove LaunchedEffect workaround for library bug

* Apply Spotless

* Changed single var to val

---------

Co-authored-by: jakeroseman <[email protected]>

* Navigation drawer examples (#380)

* Basic navigation drawer examples

* Add previews

* Fix merge issue

* Apply Spotless

* rearrange functions

* Narrowing the examples to just the example with nested items

* Apply Spotless

* refactoring as dismissable drawer

* Fixing imports

* refactor, new region tags

* Renaming functions

* Apply Spotless

* Add horizontal padding to the drawer content

* Apply Spotless

* Make drawer content scrollable to make it work on small screens / landscape

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Snippets for keyboard input (#368)

* Add a sample code for Keyboard Shortcuts Helper

* Add a sample code for keyboard actions

* Fix the issue on casting a Context object into Activity

* Snippet for animated sorted list with add/remove buttons. (#381)

* Snippet for animated sorted list with add/remove buttons.

* Apply Spotless

* Simplify adding an item to displayedItems

* Use ViewModel to correctly extract business logic from UI

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>

* Add basic segmented button examples (#383)

* Add basic segmented button examples

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Adding views snippets module with Generated Preview samples (#384)

* Adding views snippets module with Generated Preview samples

* fixup

---------

Co-authored-by: Summers Pittman <[email protected]>

* Adding top bar multi selection examples (#387)

* Adding top bar multi selection examples

* Apply Spotless

* Remember some vals

---------

Co-authored-by: jakeroseman <[email protected]>

* Include AppScaffold in navigation Snippet (#385)

* Animate image size on scroll (#390)

* Add animate image size on scroll example

* Add simple comments and rename some variables

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Add basic HTML text styling example (#389)

* Add basic HTML text styling example

* Apply Spotless

* Add region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* 🤖 Update Dependencies (#391)

* 🤖 Update Dependencies

* Update compileSdk to 35

---------

Co-authored-by: Jolanda Verhoef <[email protected]>

* add in predictive back snippets for NavHost and predictive back handler (#394)

* add in predictive back snippets

* Apply Spotless

* add in basic predictivebackhandler composable example

* Apply Spotless

---------

Co-authored-by: trambui09 <[email protected]>

* Add region tags to auto advance pager examples (#398)

* Init Wear Tiles snippets (#400)

* Init Wear Tiles snippets

* Add snippet markers

* Add manifest snippet markers

* Rename manifest snippet markers

* Create misc module, add broadcast receiver snippets (#397)

* Create misc module, add broadcast receiver snippets

* Apply Spotless

* Add live search with FilterTextView example (#402)

* Add live search with FilterTextView example

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* Add single option radio button example (#401)

* Add single option radio button example

* Apply Spotless

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>

* update to use type safe routes (#399)

* Migrated relevant MotionCompose snippets into snippets (#411)

* Migrated relevant MotionCompose snippets into snippets

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Moving location permissions snippets to repo (#413)

* Moving location permissions snippets to repo

* Apply Spotless

* rationalize class names

* Fixing region tags

---------

Co-authored-by: jakeroseman <[email protected]>

* Use VerticalDivider in IntrinsicSnippets (#369)

Co-authored-by: Rebecca Franks <[email protected]>

* Add an example of Shared elements that are seekable using SeekableTransitionState (#416)

* Added seekable predictive back (redoing commit)

* Added seekable predictive back (redoing commit)

* spotless

* Delete SeekableSharedElement.kt

* Apply Spotless

* Add enableOnBackInvokedCallback

* Add comments and fix custom seeking predictive back example.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* 🤖 Update Dependencies (#427)

* Adding SearchBar examples (#408)

* Adding SearchBar examples

* Apply Spotless

* Add search bar examples to top compose examples

* Add content descriptions

* Delete shared/build/generated/res/pngs/debug/drawable-anydpi-v24/ic_launcher_foreground.xml

* remove errant build files from branch

* Apply Spotless

---------

Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Rebecca Franks <[email protected]>

* Add Swipe to reveal examples (#412)

* Add Swipe to reveal examples

* Apply Spotless

* Adding swipe to dismiss examples to the top compose examples.

* Tidy up merge conflict errors

---------

Co-authored-by: jakeroseman <[email protected]>

* Add example usage of keyframesWithSplines (#430)

* Add example of keyframesWithSplines

* Apply Spotless

* PR Review comments.

* PR Review comments.

* Apply Spotless

---------

Co-authored-by: riggaroo <[email protected]>

* Update Advanced Focus Snippets to remove Deprecations (#432)

Co-authored-by: Rob Orgiu <[email protected]>

* Replaced deprecated WindowHeightSizeClass with isHeightAtLeastBreakpoint(). (#419)

* Replaced deprecated WindowHeightSizeClass with isHeightAtLeastBreakpoint.

* Apply Spotless

* Replaced deprecated WindowHeightSizeClass with isHeightAtLeastBreakpoint.

* Updated androidx-window to 1.4.0-alpha05.

---------

Co-authored-by: JonEckenrode <[email protected]>

* 🤖 Update Dependencies (#440)

* 🤖 Update Dependencies

* Update Gradle wrapper properties

* Update to remove casting

* Apply Spotless

---------

Co-authored-by: Meghan <[email protected]>
Co-authored-by: MagicalMeghan <[email protected]>

* Update M3SupportScaffoldSnippet (#441)

* Update M3SupportScaffoldSnippet

* Apply Spotless

* 🤖 Update Dependencies (#446)

* Downgrade Tiles snippets to use stable versions (#448)

* update adaptive layouts samples to navigable scaffolds (#449)

* update adaptive layouts samples to navigable scaffolds

* Apply Spotless

* change back the region tags

* fix the region tags issues

* change the file name back to restore the region tags

* change the list-detail pane file name back

* Revert "update adaptive layouts samples to navigable scaffolds (#449)" (#450)

This reverts commit 724b5e6.

---------

Co-authored-by: Rebecca Franks <[email protected]>
Co-authored-by: dmail <[email protected]>
Co-authored-by: thedmail <[email protected]>
Co-authored-by: riggaroo <[email protected]>
Co-authored-by: Jake Roseman <[email protected]>
Co-authored-by: jakeroseman <[email protected]>
Co-authored-by: Jolanda Verhoef <[email protected]>
Co-authored-by: N. Shimizu <[email protected]>
Co-authored-by: Hoyt Summers Pittman <[email protected]>
Co-authored-by: Summers Pittman <[email protected]>
Co-authored-by: Chiara Chiappini <[email protected]>
Co-authored-by: Tram Bui <[email protected]>
Co-authored-by: trambui09 <[email protected]>
Co-authored-by: Michael Stillwell <[email protected]>
Co-authored-by: David Mendoza <[email protected]>
Co-authored-by: Roberto Orgiu <[email protected]>
Co-authored-by: Rob Orgiu <[email protected]>
Co-authored-by: Jon Eckenrode <[email protected]>
Co-authored-by: JonEckenrode <[email protected]>
Co-authored-by: Meghan <[email protected]>
Co-authored-by: MagicalMeghan <[email protected]>
Co-authored-by: Ash <[email protected]>
Add recent changes to `latest` branch
Copy link

google-cla bot commented Feb 17, 2025

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.

@JolandaVerhoef JolandaVerhoef deleted the latest branch February 17, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants