There is a fragment in which MaterialDrawer is used. I want to do this: when I turn to another fragment, the side menu was blocked

  • What exactly does your "blocked" mean? Not shown? Did not click? Didn't work? - Vladyslav Matviienko
  • Whatever is shown in another passage. - FLWRZ4U
  • so do not implement the drawer in another Activiti, it will not be shown - ZigZag

1 answer 1

mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED); 

upd: can-i-lock-the-drawer

  • There is no such method there. I used the mikepenz library - FLWRZ4U
  • @ user207012, There is such a method, updated the answer. - katso