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
I noticed in navigate you're checking for lifecycle isResumed before navigating. I think popBackStack should also do a check for this as you can have people clicking fast and popping the backstack multiple times unnecessarily.
if this is fixed in a newer version let me know! I'm currently on 1.9.59
The text was updated successfully, but these errors were encountered:
I've been missing this feature as well. It would also come in handy to prevent duplicate back presses. E.g now if we use navigateUp on a back button it might to one too many navigateUp if the user accidentally enters two taps.
So, I think what's going to happen is that will deprecate the now "onlyIfResumed" parameter in favor of official solution like this. Then you can use that also for navigating back.
Sounds good! Just for anyone looking into this issue later, there is a similar API if you are collecting a flow of side effect from the ViewModel, Flow.flowWithLifecycle .
I noticed in navigate you're checking for lifecycle isResumed before navigating. I think popBackStack should also do a check for this as you can have people clicking fast and popping the backstack multiple times unnecessarily.
if this is fixed in a newer version let me know! I'm currently on 1.9.59
The text was updated successfully, but these errors were encountered: