Join Slack
Powered by
Is there any way to display a "Toast" when my toIn...
# compose
s
Sebastian
07/21/2024, 1:33 AM
Is there any way to display a "Toast" when my toIntOrNull() goes to a null?
👌 1
Sebastian
07/21/2024, 2:45 PM
Ok how??
Sebastian
07/21/2024, 2:46 PM
@Chrimaeon
c
Chrimaeon
07/21/2024, 2:48 PM
You should ask better question if you would like a different answer 😉 Use a side effect to detect changes in the value.
https://developer.android.com/develop/ui/compose/side-effects
s
Sebastian
07/21/2024, 3:01 PM
thanks!
2
Views
Open in Slack
Previous
Next