Custom Fragment layout Viewpager implementation with Image Adapter in Navigation Drawer?

view full story

http://stackoverflow.com – i'm followed this tutorial to implement side menu navigation drawer. It worked. And I thought to implement Android Viewpager as Image Slide Gallery (followed this tutorial) to this Navigation Drawer as a custom Fragment 1 Layout. Since the Navigation drawer follows Fragment, i don't know how to implement Android Viewpager as Image gallery to the Navigation drawer. Here is my source code : ImageAdapter.java public class ImageAdapter extends PagerAdapter { Context context; private int[] GalImages = new int[] { R.drawable.one, R.drawable.two, R.drawable.three }; ImageAdapter(Context context) (HowTos)