-
-
Notifications
You must be signed in to change notification settings - Fork 134
hide method error #7
Comments
please check if the progress dialog is in showing state or hidden state if(pr.isShowing())
pr.hide(); |
First of all, the above suggestions didn't help, and I found that Now I have found the reason for the problem, because every network request I will first determine whether the network is available, if not cancel the request, because this is not a time-consuming operation, which led to the error, you can reproduce this error with the following code:
1.Whether |
@fg2q1q3q I have got the bug, acutally the isShowing is remaining unchanged on any operation, thanks for reporting. I have fixed the issue, soon I will update the library soon :) |
fixed in the latest version progress_dialog: ^1.1.0+1 |
Thank you. I've tried. Everything's OK. |
@fg2q1q3q :) |
I encountered the problem of
hide ()
method error reporting in the process of using it.My code like this:
But the error is as follows
The text was updated successfully, but these errors were encountered: