package mlxy.utils;

import android.content.Context;
import android.widget.Toast;

/** Simplified {@link Toast}. */
public class T {
    /** Show long Toast.
     *
     *  @see Toast#makeText(Context, CharSequence, int)
     *  @see Toast#LENGTH_LONG
     */
    public static void showLong(Context context, CharSequence text) {
        Toast.makeText(context, text, Toast.LENGTH_LONG).show();
    }

    /** Show short Toast.
     *
     *  @see Toast#makeText(Context, CharSequence, int)
     *  @see Toast#LENGTH_SHORT
     */
    public static void showShort(Context context, CharSequence text) {
        Toast.makeText(context, text, Toast.LENGTH_SHORT).show();
    }
}
@@ -345,32 +345,56 @@
 makeText(context
+.getApplicationContext()
 , text, Toast.LE
@@ -649,16 +649,40 @@
 (context
+.getApplicationContext()
 , text, 

Use application context for Toast