package top.littlerich.virtuallocation.view;

import android.content.Context;
import android.widget.TextView;


import com.virjar.ratel.virtuallocation.R;

import top.littlerich.virtuallocation.base.BaseDialog;

/**
 * Created by xuqingfu on 2017/4/15.
 */
public class CustomProgressDialog extends BaseDialog {

    private TextView tvMsg;

    public CustomProgressDialog(Context context) {
        super(context);
    }

    @Override
    protected int getContentViewId() {
        return R.layout.dialog_customprogress;
    }

    @Override
    protected void InitView() {
        tvMsg = (TextView) mView.findViewById(R.id.id_tv_loadingmsg);
    }

    @Override
    protected void IniListener() {
        // TODO Auto-generated method stub

    }

    @Override
    protected void InitData() {

    }

    public void setMessage(String strMessage) {
        if (tvMsg != null) {
            tvMsg.setText(strMessage);
        }
    }
}
