package com.fuhl.activitydemo;

import android.content.Context;
import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;

/**
 * ActivityDemo
 * Description:
 * Created by FuHL on
 * Date:2015-10-16
 * Time:上午11:48
 * Copyright © 2015年 FuHL. All rights reserved.
 * blog:http://fuhongliang.com/
 */
public class AlertDialogHelper {
    public static void showAlertDialog(Context context,String dialogTitle,String messAge){
        new AlertDialog.Builder(context).setTitle(dialogTitle)
                .setMessage(messAge).setNegativeButton("取消",null)
                .setPositiveButton("确定", new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialogInterface, int i) {

                    }
                })
                .show();
    }
}
