General Mistake in Simple Toast
Android toast example : Android 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 Toast.makeText(MainActivity.this, “”, Toast.LENGTH_SHORT).show(); Long Toast Toast.makeText(MainActivity.this, “”, Toast.LENGTH_LONG).show(); So the error is that .show() will be … Read more