In my app, I construct a calendar widget for my activity, when I scroll it to previous or next month, I let it make a toast and show it.
The question is, the toast n
You can use one shoot technique. Oke let's start defining:
private Toast mToast; private showOnce=false;
Later when you wanna show toast once:
if(showOnce==false){ mToast=Toast.makeText(this, "Once!", Toast.LENGTH_LONG); mToast.show(); showOnce=true; }