Android Question [SOLVED] ASViewPager AddPage method

stanks

Active Member
Licensed User
Longtime User
Hi,

Adding page with AddPage method will add page where? For example we have 5 pages and we are on page 3. Adding new page with button will add this new page at the place of 3rd page, before page 3, after page 3, at the beginning (first page) or at the end (last page)? And what is that Value as Object param?

Thank you
 

Alexander Stolte

Expert
Licensed User
Longtime User
For example we have 5 pages and we are on page 3. Adding new page with button will add this new page at the place of 3rd page, before page 3, after page 3, at the beginning (first page) or at the end (last page)?
If you add a page with adpage then its added after the last item. If you want do add a page to a custom index, then use the addpageat function.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…