code: public @Nullable TwinTextItem getItemById(int id) {
          for(int index = getCount()-1; index >= 0; index--) {
              TwinTextItem item = getItem(index);
              if(item.getId() == id)
                  return item;
          }
          return null;
      }
docs: Finds a spinner item by its id value (excluding any temporary selection).
  @param id The id of the item to search.
  @return The specified TwinTextItem, or null if no item with the given id was found.