Edit : if my comments are not enough to put you on the good path, here is my 2 cents for what they are worht as I am also a newbie.
The best thing you should do is to try your hands at demo projects. There are many demo project for Android. I recommend CommonsWare's work, for it is amazing. Here you will find several projects around the viewpager. From the link I gave you will find many many more project that will 99% show you a good implementation of ANY features you will need as a beginner/moderate coder.
To learn Android (this is what I am doing for 8 months now), I found that if you have no teacher, the best way is to find demo project and modify them and twisted them to really learn why and how things work.
Good luck.