package com.maplehaze.adsdk.demo.utils;

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

import androidx.annotation.StringRes;
public class ToastUtil {


    public static void showToast(Context context,String msg) {
        Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
    }

    public static void showToast(Context context,@StringRes int resId) {
        Toast.makeText(context, context.getString(resId), Toast.LENGTH_SHORT).show();

    }


}
