一个类似于ContentLoadingProgressbar效果的,带有Text的LoadingDialog。
setCancelable(true)。 当click dialog 外部,会出现也给wraning:
Attempted to finish an input event but the input event receiver has already been disposed.
如何解?
直接clone下来使用。
//show
ContentLoadingDialog.Builder builder = new ContentLoadingDialog.Builder(this);
mContentLoadingDialog = builder.setMessage("Builder Message").setCancelable(true).create();
mContentLoadingDialog.showLoadingDialog();
//hide
mContentLoadingDialog.hideLoadingDialog();