Im learning android and i found you! You're amazing man! Thanks for everything, ill definitely will be looking for more videos like this while i learn!
Well, I don't know why but before clicking the video I expected that I was gonna get a little shoutout for pulling up my older tweet with Ian on your question 😂😂 but anyways, great that they added the multiple backstack support by default now.
It still recreates fragments(not the same instances) if they are not home destinations. Not an exact replacement of Navigation extensions. And this guys name is pronounced as mou-rot :)
Yes multi back stack is great, but using deep links with bottom navigation and multi back stack makes me confused. It looks like technically it works but visually it creates very confused experience. Try to make bottomnav linked to 3 nested graphs like A B C on each nav graphs make 2 fragments like A1 A2, B1 B2 C1 C2. Then make a deeplink for C1. Make button on B to deeplink to C1. The issue is that C1 will be opened on stack (B) but bottom nav will show (C) highligted. So you may think you are on stack C but you are not, so if you click on B you will see that nothing happen. And there is more issues. Like that.
@Sharukh Shaikh Google fixed the issue partially with latest version of navigation, but there is still some coviats. I just made my own implementation how to handle deep links jumping between multiple stacks.
I tested sample code with navigation 2.4.2 version, and I found that multiple backstack correctly support "maintainBackstack" what he said. But It has other back button issue. when back to home tab with back button, home stack is not maintained
Hey Mitch , I like your stuff on android development. I need your help. Is it possible to hide the dialed number while calling through intent or any work around . I just need to hide the number to which user is calling from my app. Thanks in advance.
Sounds like they want it to behave this way so we'll have to build the custom behavior ourselves. But all the pieces are there. Shouldn't be too difficult.
hi man ... great video ... thanks for that it would be really good if you make a video about foreground bound services that run on the background thread I don't really know the right way to do it in the MVVM architecture and how to properly interact with the service thanks a lot
Is there support for deeplinks? In our project we used a workaround from navigation sample. And when I tried to open deeplink on a second tab and second screen - it is just open a second tab on the first screen. And where is no possibility to send arguments when open a tab (graph for each of tabs).