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

Add SnapshotPolicy argument to functions #542

Open
JakeWharton opened this issue Nov 19, 2024 · 1 comment
Open

Add SnapshotPolicy argument to functions #542

JakeWharton opened this issue Nov 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@JakeWharton
Copy link
Collaborator

This controls whether or not the Composer/Recomposer setup also registers a global write observer that sends Snapshot apply notifications. If you have another Compose-based toolkit in your app (e.g., Compose UI) that is already sending these, there is no reason to run both.

Let's add this with #382

@JakeWharton JakeWharton added the enhancement New feature or request label Nov 19, 2024
@JakeWharton
Copy link
Collaborator Author

Still going to move forward with this, but Google and JetBrains are jointly working on an extensions of the snapshot system for use outside Compose / Compose UI. So at some point this parameter might be completely obviated, but that's fine, and we'll deal with that when it happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant