public static Toast toast;
public static void showToast(String str){ if(toast==null) { toast = Toast.makeText(BaseActivity.activity,str,Toast.LENGTH_SHORT); } toast.setText(str); toast.show(); }
public static Toast toast;
public static void showToast(String str){ if(toast==null) { toast = Toast.makeText(BaseActivity.activity,str,Toast.LENGTH_SHORT); } toast.setText(str); toast.show(); }