code: public View.OnClickListener getOnClickListener(boolean adapterHasListener) {
          if (isClickable() && adapterHasListener) {
              if (mViewHolderClickListener == null) {
                  mViewHolderClickListener = new ViewHolderClickListener<>(this);
              }
          } else {
              mViewHolderClickListener = null;
          }
          return mViewHolderClickListener;
      }
docs: Get the OnClickListener to call when the user click on the item.
  @param adapterHasListener true if the calling adapter has a global listener on the item.
  @return the click listener to be put into the view.