src/main/java/de/blau/android/presets/PresetItem.java
/**
     * Adds a recommended or optional tag to the item and populates autosuggest
     * 
     * @param optional true if optional, false if recommended
     * @param key key name of the tag
     * @param type type of preset field
     * @param valueCollection Collection with the values
     * @param delimiter the delimiter if more than one value is present
     * @param matchType the applicable MatchType
     * @return the allocated PresetField
     */
Adds a recommended or optional tag to the item and populates autosuggest


Adds a recommended or optional tag to the item and populates autosuggest
@NonNull
    public PresetField addTag(boolean optional, @NonNull String key, PresetKeyType type, Collection<StringWithDescription> valueCollection,
            final String delimiter, MatchType matchType) {
        return addTag(optional, key, type, valueCollection.toArray(new StringWithDescription[valueCollection.size()]), delimiter, matchType);
    }
@ NonNull public PresetField addTag ( boolean optional , @ NonNull String key , PresetKeyType type , Collection < StringWithDescription > valueCollection , final String delimiter , MatchType matchType ) { return addTag ( optional , key , type , valueCollection . toArray ( new StringWithDescription [ valueCollection . size ( ) ] ) , delimiter , matchType ) ; }
Adds a recommended or optional tag to the item and populates autosuggest
Adds a recommended or optional tag to the item and populates autosuggest