Closed AndrewPixel closed 3 years ago
How do you create a toast? Do you store toasts as objects in some array?
Sorry, after checking it numerous times I found that the toast I created and subsequently destroyed before displaying the current toast was being referenced. I added an ID to the current toast and I was able to reference (and change) the message correctly.
I have a toast that is displayed for a relatively long time so I'd liked to periodically change the message. After the toast is displayed. I tried this:
but the message didn't change. How can I change the message dynamically?