wxr
2022-11-24 2af932533ef851bf983385244e9912976dbd4daa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.mm.android.deviceaddmodule.mobilecommon.base.api;
 
import android.content.DialogInterface;
import android.support.annotation.LayoutRes;
 
/**
 * 控制显示等待框的接口
 */
 
public interface IProgressDialogControlView {
 
    /**
     * 根据 id 显示 等待
     * @param layoutId
     */
    void showProgressDialog(@LayoutRes int layoutId);
    /**
    *  隐藏等待
    */
    void dissmissProgressDialog();
 
    /**
     * 取消弹框
     */
    void cancleProgressDialog();
 
    /**
     * 设置是否可以取消
     * @param flag
     */
   void setProgressDialogCancelable(boolean flag);
 
   void setProgressDialogCancelListener(DialogInterface.OnCancelListener cancelListener);
 
}