src/main/java/de/blau/android/propertyeditor/tagform/DialogRow.java
/**
     * Find the parent TagFormFragment and update multiple tags
     * 
     * This is just as ugly as above, but works reliably
     * 
     * @param context the relevant Android Context
     * @param key a String identifying the row to change
     * @param tags map containing the new key - value pairs
     * @param flush if true delete all existing tags before applying the update
     */
Find the parent TagFormFragment and update multiple tags

This is just as ugly as above, but works reliably

@param context the relevant Android Context
@param key a String identifying the row to change
@param tags map containing the new key - value pairs
@param flush if true delete all existing tags before applying the update
Find the parent TagFormFragment and update multiple tags This is just as ugly as above but works reliably @param context the relevant Android Context @param key a String identifying the row to change @param tags map containing the new key - value pairs @param flush if true delete all existing tags before applying the update
protected static void updateTags(@NonNull Context context, @NonNull String key, @NonNull final Map<String, String> tags, final boolean flush) {
        TagFormFragment fragment = findFragment(context);
        if (fragment != null) {
            fragment.updateTags(tags, flush);
            fragment.updateDialogRow(key, tags);
        }
    }
protected static void updateTags ( @ NonNull Context context , @ NonNull String key , @ NonNull final Map < String , String > tags , final boolean flush ) { TagFormFragment fragment = findFragment ( context ) ; if ( fragment != null ) { fragment . updateTags ( tags , flush ) ; fragment . updateDialogRow ( key , tags ) ; } }
Find the parent TagFormFragment and update multiple tags
Find the parent TagFormFragment and update multiple tags