How to display/show a Toast in Android?

Android Toast is used to display a message for the short interval on the screen .A toast contains a message which is displayed and disappears shortly notifying the user. Simple Toast can be shown like this. Toast.makeText(context,"CoderzPassion",Toast.LENGTH_SHORT).show(); Parameters: - Context Text message Duration of toast can be short, long or customised in milliseconds like below. Toast.makeText(context,"CoderzPassion",3000).show(); … Continue reading How to display/show a Toast in Android?