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
Hi,
I'm trying to use this wonderful library to implement the Android Back Button functionality mentioned in this blog article.
Problem is, my use case is a little different, it can't automatically use the "last mounted" component I use for catching the back button event, it needs to use the one of the currently focused screen.
For example, this works:
Tab A: Tab A Root
Tab B: Tab B Root > Screen B <- focused, back button here, listener of Screen B called correcty
Tab C: Tab C Root
While this is not working:
Tab A: Tab A Root
Tab B: Tab B Root > Screen B <-- focused, back button here, listener of Subscreen C is called
Tab C: Tab C Root> Screen C > Subscreen C
Any ideas how this scenario could be handled? Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to use this wonderful library to implement the Android Back Button functionality mentioned in this blog article.
Problem is, my use case is a little different, it can't automatically use the "last mounted" component I use for catching the back button event, it needs to use the one of the currently focused screen.
For example, this works:
Tab A
:Tab A Root
Tab B
:Tab B Root
>Screen B
<- focused, back button here, listener of Screen B called correctyTab C
:Tab C Root
While this is not working:
Tab A
:Tab A Root
Tab B
:Tab B Root
>Screen B
<-- focused, back button here, listener of Subscreen C is calledTab C
:Tab C Root
>Screen C
>Subscreen C
Any ideas how this scenario could be handled? Thanks!
The text was updated successfully, but these errors were encountered: