code: private OnItemClickListener createItemClickListener(
              @NonNull final OnItemClickListener encapsulatedListener) {
          return new OnItemClickListener() {
  
              @Override
              public void onItemClick(final AdapterView<?> parent, final View view,
                                      final int position, final long id) {
                  encapsulatedListener.onItemClick(parent, view, getItemPosition(position), id);
              }
  
          };
      }
docs: Creates and returns a listener, which encapsulates another listener in order to be able to
  adapt the position of the item, which has been clicked.
  
  @param encapsulatedListener
  The listener, which should be encapsulated, as an instance of the type {@link
  OnItemClickListener}
  @return The listener, which has been created, as an instance of the type {@link
  OnItemClickListener}