src/main/java/de/blau/android/propertyeditor/tagform/DialogRow.java
/**
     * Find the parent TagFormFragment and update the tag
     * 
     * This is ugly, but works reliably
     * 
     * @param context the relevant Android Context
     * @param key the tag key
     * @param value the tag value
     */
Find the parent TagFormFragment and update the tag

This is ugly, but works reliably

@param context the relevant Android Context
@param key the tag key
@param value the tag value
Find the parent TagFormFragment and update the tag This is ugly but works reliably @param context the relevant Android Context @param key the tag key @param value the tag value
protected static void updateTag(@NonNull Context context, @NonNull String key, @NonNull StringWithDescription value) {
        TagFormFragment fragment = findFragment(context);
        if (fragment != null) {
            fragment.updateSingleValue(key, value.getValue());
            fragment.updateDialogRow(key, value);
        }
    }
protected static void updateTag ( @ NonNull Context context , @ NonNull String key , @ NonNull StringWithDescription value ) { TagFormFragment fragment = findFragment ( context ) ; if ( fragment != null ) { fragment . updateSingleValue ( key , value . getValue ( ) ) ; fragment . updateDialogRow ( key , value ) ; } }
Find the parent TagFormFragment and update the tag
Find the parent TagFormFragment and update the tag