https://kotlinlang.org logo
f

Florian

12/06/2020, 8:56 AM
Should error message in my UI be sticky (shown again on orientation change) or one-off events? Is it correct to say that one-off actions (i.e. suspending functions) should show one-off error messages (like a failed login attempt) and failed Flows (like a list not being able to load because of insufficient permissions) should show a sticky error message?
s

Shalom Halbert

12/06/2020, 4:01 PM
Not a designer, but: it depends on the type of error. If it's an error you want displayed until the user dismisses it, it would make sense to have it persist configuration changes.
f

Florian

12/06/2020, 4:10 PM
makes sense
2 Views