3 ms·
Toast are used for two reasons: - An action has a destructive operation that you can't easily undo because the main button has disappeared (i.e: delete, reset,
by h1fra 2y ago
Toast are used for two reasons:
- An action has a destructive operation that you can't easily undo because the main button has disappeared (i.e: delete, reset, confirm a popup, etc.)
- Displaying a message would break the UI somehow (i.e: error message in a list, near a button in nav bar, in a tight UI, etc.)
I honestly don't feel like they are the best, and most of the time they are useless, but from time to time they are handy.