We try to make an image clickable for some time within the Image Viewer. In my view, there is no listener for it?
We have a gallery of images. After clicking on an image that is to be opened in a separate window.
In another thread we found the opportunity to put any image on a button. For this we need to restructure our gallery, what we want to avoid
Here is the code for opening the image. This works well so far:
Form picture = (Form) createContainer(res, "ImageViewer");
beforeImageViewer(picture, currentObjektModel);
picture.showBack();
postImageViewer(picture, iv.getImageList().getItemAt(iv.getImageList().getSelectedIndex()));