Thursday, September 22, 2011

Re: [android-developers] Loading multiple pages

On Thu, Sep 22, 2011 at 1:30 PM, Sivaprakash
<sivaprakashshanmugam@gmail.com> wrote:
> Thanks much !!
> Please find the attached screen shot which is something I want to achieve.
> Imagine in the first screen I have 12 items and when I scroll (drag right to
> left) then have to show next set of items. How to get this ?

Try the ViewPager component added to the Android Compatibility
Library. Or, my ViewSwiper might fit the bill:

https://github.com/commonsguy/cwac-viewswiper

> Will
> EndlessAdapter work for this?

No, that's more for a ListView where you want to only load in part of
the data, loading in more if the user scrolls to the bottom.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate