public void createCategory(final String category, final boolean atStart) {

        if (!categorizedImageListHelper.containsCategory(category)) {
            categorizedImageListHelper.addOrMoveCategory(category, atStart);
            adapter.addItem(atStart ? 0 : adapter.getItemCount(), new ImageGalleryEntry(category));
        }
    }
adds images for display to this gallery
main/src/main/java/cgeo/geocaching/ui/ImageGalleryView.java