code: @NonNull
      private Divider addDivider() {
          Divider divider = new Divider(getContext());
          divider.setVisibility(View.INVISIBLE);
          divider.setBackgroundColor(dividerColor);
          LayoutParams layoutParams =
                  new LayoutParams(LayoutParams.MATCH_PARENT, dpToPixels(getContext(), 1));
          layoutParams.leftMargin = dividerMargin;
          layoutParams.rightMargin = dividerMargin;
          addView(divider, layoutParams);
          return divider;
      }
docs: Adds a divider to the view.
  
  @return The divider, which has been added to the view, as an instance of the class {@link
  Divider}. The divider may not be null