package com.programize.myfunctions;


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

public class MyToast {
    private Context mContext;
    public MyToast(Context context) {
        mContext = context;
    }

    public void showShort(String message) {
        Toast.makeText(mContext, message, Toast.LENGTH_SHORT).show();
    }
    public void showLong(String message) {
        Toast.makeText(mContext, message, Toast.LENGTH_LONG).show();
    }
}
