Android ViewPager – Swipe Fragments With CardViews

Android ViewPager – Swipe Fragments With CardViews



Rating : No ratings yet.




Android ViewPager tutorial. Making swipeable fragments that contain CardViews with images.

Introduction

This tutorial explores how to use ViewPager to make swipeable fragments that have cardviews with images and text. Please watch the video tutorial below.

 

Android Swipeable Cards

 

Project Structure

Tools Used

This example was written with the following tools:

  • Windows 8
  • AndroidStudio IDE
  • Genymotion Emulator
  • Language : Java

Source Code

Lets jump directly to the source code. Source code is well commented.

Video TutorialDownload
  • We have a YouTube channel with almost a thousand tutorials, this one below being one of them.

Android ViewPager Ep.01 - Swipe Fragments With CardViews

  • You can Download the full Project below. Source code is well commented.
Download

How To Run

  1. Download the project above.
  2. You'll get a zipped file,extract it.
  3. Open the Android Studio.
  4. Now close, already open project.
  5. From the Menu bar click on File >New> Import Project.
  6. Now Choose a Destination Folder, from where you want to import project.
  7. Choose an Android Project.
  8. Now Click on “OK“.
  9. Done, your done importing the project,now edit it.

More

YouTube

  • Visit our channel for more examples like these.

Facebook

Oclemy,Cheers.



Rating :

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    16 − 3 =

    COMMENTS