/** * Searches for the given item and calculates its relative position * * @param item the item which is searched for * @return the relative position */ @Override public int getAdapterPosition(Item item) { return getAdapterPosition(item.getIdentifier()); }