Skip to content

Add snippets related to View Threading Violations #989

Open
huewu wants to merge 7 commits into
mainfrom
anr-snippets
Open

Add snippets related to View Threading Violations #989
huewu wants to merge 7 commits into
mainfrom
anr-snippets

Conversation

@huewu

@huewu huewu commented Jul 23, 2026

Copy link
Copy Markdown
Contributor
  • Create ViewThreadingViolationSnippet.kt
  • Add snippet for switching to Dispatchers.Main in coroutines
  • Add snippet for View.registerCalledFromWrongThreadListener (API 37)

huewu and others added 6 commits July 21, 2026 14:36
* Create ViewThreadingViolationSnippet.kt
* Add snippet for switching to Dispatchers.Main in coroutines
* Add snippet for View.registerCalledFromWrongThreadListener (API 37)
* Create ViewThreadingViolationSnippet.kt
* Add snippet for switching to Dispatchers.Main in coroutines
* Add snippet for View.registerCalledFromWrongThreadListener (API 37)

# Conflicts:
#	misc/src/main/java/com/example/snippets/anr/ViewThreadingViolationSnippet.kt
…tionSnippet.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@snippet-bot

snippet-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 2 region tags.

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

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