code: @Override
      public void setTitles(String[] titles) {
          if(titles!=null){
              mLinearLayoutPinTexts.removeAllViews();
              mPinTitles = titles;
              pinTitlesIds = new int[titles.length];
              for (int i = 0; i < titles.length; i++) {
                  mLinearLayoutPinTexts.addView(generatePinText(i, titles), i);
              }
          }
      }
docs: Set titles (see {@link TextView}) values to add to {@link PinView}, with all attributes.
  
  @param titles string array with the titles values