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
in basedialog where we are doing the fragment transaction, fragments are added to backstack
although it does seem harmless but in the cases where there is a repeated call to a same dialog(for eg. a network error dialog with retry option), same dialog is added to the backstack and even after transaction.remove() is applied the same dialog is reappearing.
By simply removing addtobackstack(null) we can save us from this problem,
anyhow i don't understand why do we need to retain a fragment after back press if we are handling removing similar dialogs anyway.
I solved my problem by removing addToBackStack(null)
i think this should also be applied in this repo too
The text was updated successfully, but these errors were encountered:
in basedialog where we are doing the fragment transaction, fragments are added to backstack
although it does seem harmless but in the cases where there is a repeated call to a same dialog(for eg. a network error dialog with retry option), same dialog is added to the backstack and even after transaction.remove() is applied the same dialog is reappearing.
By simply removing addtobackstack(null) we can save us from this problem,
anyhow i don't understand why do we need to retain a fragment after back press if we are handling removing similar dialogs anyway.
I solved my problem by removing addToBackStack(null)
i think this should also be applied in this repo too
The text was updated successfully, but these errors were encountered: