开发者

ViewPager for multiple Activities

I'm trying to implement a ViewPager that have multiple activities. I'm following this example but this doesnt look that uses multiple activities, but Fragments. If anyone can explain me how to implement this. What开发者_JAVA技巧 I want is to scroll between different screens, and each screen does its own job.

Thanks.


I'm trying to implement a ViewPager that have multiple activities.

I doubt this is possible, and to the extent that it is, it would use deprecated techniques like ActivityGroup.

What I want is to scroll between different screens, and each screen does its own job.

Use fragments, as @Glendon Trullinger suggested.

How can I build it.

Use the example that you linked to. Or look at the Support13Demos in your SDK's extras/ folder tree, which demonstrate ViewPager. When you have specific, concrete questions regarding the use of fragments, ask another question here on StackOverflow.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜