public static void input(final Activity activity, final String title, final String currentValue, final String label, final int inputType, final int minLines, final int maxLines, final Consumer<String> callback) {
        final Pair<View, EditText> textField = ViewUtils.createTextField(activity, currentValue, TextParam.text(label), null, inputType, minLines, maxLines);
        newBuilder(activity)
                .setView(textField.first)
                .setTitle(title)
                .setPositiveButton(android.R.string.ok, (dialog, whichButton) -> callback.accept(textField.second.getText().toString().trim()))
                .setNegativeButton(android.R.string.cancel, (dialog, whichButton) -> {
                })
                .show();
    }
displays an input dialog (one or multiple lines)

@param activity     calling activity
@param title        dialog title
@param currentValue if non-null, this will be the prefilled value of the input field
@param label        label / hint for the input field
@param inputType    input type flag mask, use constants defined in class {@link InputType}. If a value below 0 is given then standard input type settings (text) are assumed
@param minLines     minimum amount of input lines to display
@param maxLines     maximum amount of input lines to display (make dialog scrollable, if > 1)
@param callback     method to call on positive confirmation, gets current text as parameter
main/src/main/java/cgeo/geocaching/ui/dialog/Dialogs.java