3 ms·
Nope. Creating a Toast object just creates the object. Calling .show() on the newly created object is what makes it actually draw something on the screen. The d
by mcherm 11y ago
Nope. Creating a Toast object just creates the object. Calling .show() on the newly created object is what makes it actually draw something on the screen. The difficulty here is to realize that "new Toast(myMessage)" is not enough, you need to execute "new Toast(myMessage).show()".
By the way, I am 100% sure that Java wouldn't have caught that, because this IS Java.