@@ -0,0 +1,312 @@
+public class ToastHelper %7B%0A%0A    private static Toast t;%0A%0A    public static void show(Context c, Object text) %7B%0A        cancel();%0A        t = Toast.makeText(c, text.toString(), Toast.LENGTH_SHORT);%0A        t.show();%0A    %7D%0A%0A    public static void cancel() %7B%0A        if (t != null)%0A            t.cancel();%0A%0A    %7D%0A%7D%0A

Create ToastHelper.java