Navigation Drawer Layout with Jetpack Navigation Component

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 4

  • @deepeshkumar1704
    @deepeshkumar1704 Рік тому

    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

  • @deepeshkumar1704
    @deepeshkumar1704 Рік тому

    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

    • @codingstuff070
      @codingstuff070  Рік тому

      OnBackPressed is implemented.. kindly check out the full video and source code.