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 #105

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

AlertDialog disappears on system-initiated process death #105

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 More (bottom bar)
  2. Touch Settings
  3. Touch 1 of the following items:
    1. Dark Theme
    2. Board font size
    3. App language
    4. Date format
    5. Date format -> Custom
    6. Input method
    7. Mistakes checking
    8. Clear all statistics
  4. 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