public static void addShareAction(final Context context, final TextView view, final androidx.arch.core.util.Function<String, String> formatter) {
        view.setOnLongClickListener(v -> {
            ShareUtils.sharePlainText(context, formatter.apply(view.getText().toString()));
            return true;
        });
    }
Create a "name: value" line with html content.

@param nameId  the resource of the name field
@param value   the initial value
@param geocode the geocode for image getter
@return a pair made of the whole "name: value" line (to be able to hide it for example) and of the value (to update it)
main/src/main/java/cgeo/geocaching/ui/CacheDetailsCreator.java