Ejemplo n.º 1
0
 public static void showToast(int resId) {
   if (BaseApplication.getInstance() != null) {
     Toast.makeText(BaseApplication.getInstance(), resId, Toast.LENGTH_SHORT).show();
   }
 }
Ejemplo n.º 2
0
 public static void showToast(String msg) {
   if (BaseApplication.getInstance() != null) {
     Toast.makeText(BaseApplication.getInstance(), msg, Toast.LENGTH_SHORT).show();
   }
 }