I have to call the third page of the view-pager using the FragmentPagerAdapter, so I passed the value 3 of this activity to the fragment that loads the view-pager. But it brings up another page of the view page. Any solution would be appreciated.
just use
mViewPager.setCurrentItem(2);
if you want to go to the third page because the index starts at 0.
Source: https://habr.com/ru/post/1489866/More articles:User dialog opens in full screen mode - androidThe default username and password for DB2 express - databaseselecting a row from one table and pasting into another table - sqlHow to make jekyll serve --watch rebuild when replacing an included file? - jekyllDb2 Express-C SAMPLE Database - databaseWhy doesn't the router forward my packet? - cAndroid: openConnection () throws an IOExeption (cannot find the default handler for the protocol: http) - javaweak reference to String Pool object - javaWeakReference string did not collect garbage? How? - javaHow to get a list of filtered files using scandir in PHP? - fileAll Articles