Skip to content

Migrate Provide custom back navigation snippets - #1122

Open
hamen wants to merge 2 commits into
android:mainfrom
hamen:hamen/custom-back-snippets
Open

hamen wants to merge 2 commits into
android:mainfrom
hamen:hamen/custom-back-snippets

Conversation

@hamen

@hamen hamen commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Code snippets are for:

List of modifications:

  • Custom-back page: Migrated Compose BackHandler basic usage snippet to compose/snippets/src/main/java/com/example/compose/snippets/navigation/CustomBack.kt (region tag android_compose_navigation_custom_back_basic). Spotless line delta: 0 lines modified.

Snippets not migrated:

  • MyFragment OnBackPressedCallback snippet because it is View-based (Fragment/OnBackPressedDispatcher) and excluded per DAC snippet eligibility rules; the obsolete Java tab was removed per D15.

@hamen
hamen marked this pull request as ready for review September 22, 2026 15:33
@hamen
hamen requested a review from a team as a code owner September 22, 2026 15:33
@hamen
hamen requested a review from dturner September 22, 2026 15:33
@snippet-bot

snippet-bot Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@kkuan2011
kkuan2011 requested a review from alabiaga September 23, 2026 01:02
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.

2 participants