you said in this video fine, but problem is when we navigate to new Fragment, drawer can also open, and if drawer is open in new Fragment and then click back button,it pop out fragment first until it goes to first Fragment then onBackPressed first closes the drawer, so pls fix if drawer is open and fragment navigated to new Fragment, and then if back button pressed,then first close drawer and then pop up new fragment ?? or how to lock drawer layout in some fragments?? pls
if drawer is open, and back button pressed,then without closing drawer its directly quit, how to solve this?? or how to lock drawer layout in some fragments?? pls
you said in this video fine, but problem is when we navigate to new Fragment, drawer can also open, and if drawer is open in new Fragment and then click back button,it pop out fragment first until it goes to first Fragment then onBackPressed first closes the drawer, so pls fix
if drawer is open and fragment navigated to new Fragment, and then if back button pressed,then first close drawer and then pop up new fragment ?? or how to lock drawer layout in some fragments?? pls
Problem solved sir jee
Thanks❤
if drawer is open, and back button pressed,then without closing drawer its directly quit, how to solve this?? or how to lock drawer layout in some fragments?? pls
OnBackPressed is implemented.. kindly check out the full video and source code.