Kaopiz / KProgressHUD

An implement of ProgressHUD for Android, similar to MBProgressHUD, SVProgressHUD for iOS.
Apache License 2.0
1.65k stars 382 forks source link

not attached to window manager #27

Closed YinkerBoy closed 6 years ago

YinkerBoy commented 7 years ago

exception:not attached to window manager suggest: public void dismiss() { if (mContent!=null && !(Activity)mContext.isFinish() &&mProgressDialog != null && mProgressDialog.isShowing()) { mProgressDialog.dismiss(); } }

tuanna-hsp commented 7 years ago

Thank you for reporting. I will implement the fix in the next release.

jschmid commented 6 years ago

@tuanna-hsp when do you think you will release a version with this fix? Thanks !

tuanna-hsp commented 6 years ago

I totally forgot about this. Will try as soon as I can, possibly this week. Sorry.

jschmid commented 6 years ago

Great, thanks !