On Fri, Sep 21, 2012 at 8:55 AM, Raneez <[email protected]> wrote:
> I have used viewpager only with fragments, how to replace listfragments with
> listview in a viewpager?

You would need to create your own PagerAdapter implementation that
does not use fragments.

This sample app primarily exists to demonstrate displaying multiple
pages at a time in ViewPager, but it also happens to have a
non-fragment PagerAdapter:

https://github.com/commonsguy/cw-omnibus/tree/master/ViewPager/MultiView1

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

_The Busy Coder's Guide to Android Development_ Version 4.1 Available!

-- 
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