code: private void inflateContentView() {
          contentContainer = rootView.findViewById(R.id.content_container);
          contentContainer.removeAllViews();
  
          if (customView != null) {
              contentContainer.setVisibility(View.VISIBLE);
              contentContainer.addView(customView);
          } else if (customViewId != -1) {
              contentContainer.setVisibility(View.VISIBLE);
              LayoutInflater layoutInflater = LayoutInflater.from(getContext());
              View view = layoutInflater.inflate(customViewId, contentContainer, false);
              contentContainer.addView(view);
          } else {
              LayoutInflater layoutInflater = LayoutInflater.from(getContext());
              View view = layoutInflater
                      .inflate(R.layout.bottom_sheet_grid_view, contentContainer, false);
              contentContainer.addView(view);
          }
  
          showGridView();
      }
docs: Inflates the layout, which is used to show the bottom sheet's content. The layout may either
  be the default one or a custom view, if one has been set before.