code: public final GridView getGridView() {
          return (gridView != null && gridView.getVisibility() == View.VISIBLE) ? gridView : null;
      }
docs: Returns the grid view, which is contained by the bottom sheet.
  
  @return The grid view, which is contained by the bottom sheet, as an instance of the class
  {@link GridView} or null, if the bottom sheet does not show any items or has not been shown
  yet