Mark
12/11/2023, 4:11 PMAnnotatedString
in a Toast
message?Zach Klippenstein (he/him) [MOD]
12/11/2023, 4:23 PMZach Klippenstein (he/him) [MOD]
12/11/2023, 4:24 PMJoel Denke
12/11/2023, 8:35 PMMark
12/12/2023, 4:00 AMComposeView
approach but got a ViewTreeLifecycleOwner not found
exception, and figured it wasn’t worth going down that route. So yeah I agree better to migrate away from Toast
altogether at this point.Mark
12/12/2023, 9:24 AMContext
is, and so it’s been a case of just using the Context
or passing one down, rather than a more verbose system of event handling. These Toast
messages are usually something very simple, like “no items” when realising a list is empty and so aborting some workflow. A more concrete use case where a Toast
is preferable is while a Dialog
is being shown, in which case the snackbar is shown behind and so, not only dimmed and clickable, but also sometimes obscured.Zach Klippenstein (he/him) [MOD]
12/12/2023, 4:30 PMMark
12/13/2023, 4:23 AMDialog
?