当前位置: 动力学知识库 > 问答 > 编程问答 >

How to use Android ViewPager?

问题描述:

Possible Duplicate:

android viewPager implementation

Can someone please tell me how I can properly implement ViewPager into my project? I need to know what I can achieve by using it?

I am somewhat new to programming and android. Basically I need to use horizontal paging for an app on which I am working on right now.

I need step by step instruction guide for this.

网友答案:

Try this site - Page swiping using ViewPager

This will help you to implement view pager step by step.

ViewPager Example

网友答案:

It's done automatically with the new ADT 20, you just need to choose "tabs+swipe" in the right section when you create a new Android application. Then you'll just have to create fragments, like the Dummy one they gave you for example.

分享给朋友:
您可能感兴趣的文章:
随机阅读: