public ContextMenuDialog addItem(@StringRes final int textId, @DrawableRes final int icon, final Action1<Item> selectAction) {
        items.add(new Item(this.activity.getResources().getString(textId), icon, selectAction));
        return this;
    }
Represents a dialog usable as a context menu for various elements.
<br>
Supports textual items with or without accompanying icon.
main/src/main/java/cgeo/geocaching/ui/dialog/ContextMenuDialog.java