code: public T itemSelected(AdapterView.OnItemSelectedListener listener) {
  
          if (view instanceof AdapterView) {
              AdapterView<?> alv = (AdapterView<?>) view;
              alv.setOnItemSelectedListener(listener);
          }
  
          return self();
  
      }
docs: Register a callback method for when an item is selected.
  
  @param listener The item selected listener.
  @return self