code: private void initialize() {
          width = getContext().getResources().getDimensionPixelSize(R.dimen.default_width);
          maximize = false;
          adapter = new DividableGridAdapter(getContext(), Style.LIST, width);
          super.setOnShowListener(createOnShowListener());
      }
docs: Initializes the bottom sheet.