code: private View inflatePlaceholderView(@Nullable ViewGroup parent) {
          LayoutInflater layoutInflater = LayoutInflater.from(context);
          return layoutInflater.inflate(
                  style == Style.GRID ? R.layout.grid_placeholder : R.layout.list_placeholder, parent,
                  false);
      }
docs: Inflates the view, which is used to visualize a placeholder.
  
  @param parent
  The parent of the view, which should be inflated, as an instance of the class {@link
  ViewGroup} or null, if no parent is available
  @return The view, which has been inflated, as an instance of the class {@link View}