I have a gallery and I want to set the default selected item when I run the action.
The goal is to automatically contain the title of the first element.
Is there anyway to do this?
Thanks a lot for the answers.
Use setSelection(position, animate)
setSelection(position, animate)
Use this method:
gallery.setSelected(true); gallery.setSelection(position);