I am using the following code, MAX is 2 pages. By default the position is 0 and adds a new page to the right. I inflate two layout files.
How can I show the page1 wh
Have you tried using the setCurrentItem method?
setCurrentItem