[android-developers] Using ViewPager with dynamic view sets

2011-12-27 Thread tatebn
I'm trying to use ViewPager to allow the user to flip through a series of web views. I've looked at the ViewPager examples which look like it uses an adapter which has a defined number of pages. The problem I have is that the number of pages I have changes regularly. Is there not a way to just

Re: [android-developers] Using ViewPager with dynamic view sets

2011-12-27 Thread TreKing
On Tue, Dec 27, 2011 at 10:49 AM, tatebn brandonnt...@gmail.com wrote: I've looked at the ViewPager examples which look like it uses an adapter which has a defined number of pages. A brief look at the PageAdapter shows methods for adding and removing items. I'm sure you tried that already.