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

AlertDialog disappears on system-initiated process death #104

Open
nicolarevelant opened this issue Sep 25, 2024 · 0 comments
Open

AlertDialog disappears on system-initiated process death #104

nicolarevelant opened this issue Sep 25, 2024 · 0 comments

Comments

@nicolarevelant
Copy link

This article explains why it matters: Save UI State - Android Developers

Problem: when I perform this sequence of events the AlertDialog disappears:

  1. Touch Play (or Continue)
  2. Touch the reset button, or the "Give up" button
  3. background/foreground app with "Don't Keep Activities" option enabled

Possible solution:

Use SavedStateHandle to save data across system-initiated process death

Screenshots:

Version:

1.5.0 (7)

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

No branches or pull requests

1 participant