docs: public static MenuDrawer attach(Activity activity, Type type, Position position, int dragMode) {
          MenuDrawer menuDrawer = createMenuDrawer(activity, dragMode, position, type);
          menuDrawer.setId(R.id.md__drawer);
  
          switch (dragMode) {
              case MenuDrawer.MENU_DRAG_CONTENT:
                  attachToContent(activity, menuDrawer);
                  break;
  
              case MenuDrawer.MENU_DRAG_WINDOW:
                  attachToDecor(activity, menuDrawer);
                  break;
  
              default:
                  throw new RuntimeException("Unknown menu mode: " + dragMode);
          }
  
          return menuDrawer;
      }