public void registerCallerActivity() {
        ImageViewActivity.registerCallerActivity(this.activity, this::getImageViewForContentIndex);
    }
registers the activity associated with this gallery for image transtions towards image detail view
main/src/main/java/cgeo/geocaching/ui/ImageGalleryView.java