← back to the blog


Did you ever forget to call Toast.show()?

Posted on 19 May 2016 in android, toast by Greg E.

In starting Android development it is inevitable that a developer new to the framework will call Toast.makeText, but then forget to call show.

I thought this was the kind of mistake I would only make once until it happened again recently. But then I realized, this wasn’t code I wrote - this is code I copied and pasted. And from where? None other than Google’s Own Documentation on drag and drop.

Something Missing?

So hey, if it happens to you, don’t worry - it happens to best of us.



comments powered by Disqus