You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using DialogFragment or ProgressDialog could lead to crash if is trying to show when fragment is not attached or shown.
As a fast solve you could check if the fragment is added
override fun onPageFinished() { if (isAdded) progressDialog.dismiss() }
override fun onLoading() { if (isAdded && !progressDialog.isResumed) {...} }
The text was updated successfully, but these errors were encountered:
Using
DialogFragment
orProgressDialog
could lead to crash if is trying to show when fragment is not attached or shown.As a fast solve you could check if the fragment is added
override fun onPageFinished() { if (isAdded) progressDialog.dismiss() }
override fun onLoading() { if (isAdded && !progressDialog.isResumed) {...} }
The text was updated successfully, but these errors were encountered: