I am creating new android application using android architecture components.
Here the scenario is, I have created one ( no other activities ) main activity where I have put NavHostFragment along with drawerlayout. Now I have fragment for splashscreen, where I made toolbar hidden, and everything works fine.
Now, when after 5 seconds I call other fragment using navigationcontroller, in new fragment(home fragment), instead of showing icon to open drawer, it shows back button there. And on click of back button icon, it loads splashscreen again.
Any suggestions ?