The destroyItem will work, but the instantiateItem will not.  The
instatiateItem method is called the number of times returned in
getCount, which is overrided to return a specific number.
instantiateItem doesn't not take a parameter for a view or object to
add.  It just creates and adds one based on position.

On Dec 27, 3:35 pm, TreKing <[email protected]> wrote:
> On Tue, Dec 27, 2011 at 2:10 PM, tatebn <[email protected]> wrote:
> > I don't see add and remove items.
>
> Try the official docs instead of some random open source 
> project.http://developer.android.com/reference/android/support/v4/view/PagerA...
>
> --------------------------------------------------------------------------- 
> ----------------------
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to