A Toast is a small message shown when a particular action is done, as apart of result i.e., output of the work done.

Format for a toast in android


Short Toast


Long Toast


So the error is that .show() will be missed sometime, then the actual problem is code will not show any error but will not display any toast.


Show Buttons
Hide Buttons
Read previous post:
Android Tutorial on Rating Bar