[android-developers] Using ViewPager with dynamic view sets
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 use the ViewPager for it's paging ability and add/ remove views as I see fit? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Using ViewPager with dynamic view sets
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. What's the problem with those methods? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en