Skip to content

Migrate Snackbar snippets (showing and action) - #1080

Draft
hamen wants to merge 2 commits into
android:mainfrom
hamen:hamen/snackbar-showing
Draft

Migrate Snackbar snippets (showing and action)#1080
hamen wants to merge 2 commits into
android:mainfrom
hamen:hamen/snackbar-showing

Conversation

@hamen

@hamen hamen commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Code snippets are for:

List of modifications:

  • Showing page: Added Kotlin snippets for creating and displaying a Snackbar using Snackbar.make() and .show(), as well as chained invocation (views module).
  • Action page: Added Kotlin snippets for Snackbar.setAction with custom OnClickListener and SnackbarHost with SnackbarHostState in Compose (views and compose:snippets modules).

Snippets not migrated:

  • Showing page lines 55-73: View-based CoordinatorLayout XML layout skeleton with legacy Support Library references.

@hamen hamen changed the title Migrate Build and display a pop-up message snippets Migrate Snackbar snippets (showing and action) Sep 10, 2026
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.

1 participant