I built a very simple app connected to a sharepoint list. There is a gallery that shows each item in the list and form. You can manually select whatever item you want by tapping on the gallery. I want a button that channges the selection to the next item in the list.
Today this is not possible; the only way to change the selection of the gallery "programatically" is by using its Default property, but you cannot find the current selected index of the data source to choose the "next" or "previous" one.
I am interested in a similar functionality, whereby you can select a gallery item using a button (instead of clicking on the item within the gallery). That is because I want to arrange the buttons in a way that is difficult to replicate via galleries.
Any way to work with variables, e.g. button OnSelect sets a variable, and gallery selection can be triggered using this variable?