Code example for FragmentPagerAdapter

Methods: getSupportFragmentManager

0
            ViewPager.OnPageChangeListener { 
 
        private ArrayList<Bundle> mBundleAL;
         
        public SherlockTabAdapter() { 
            super(getSupportFragmentManager()); 
        } 
         
        /** 
         * ArrayList of bundle's to pass as Arguments to Fragment. 
         * @param bundleAL  ArrayList of bundle's 
         */ 
        void setBundle(ArrayList<Bundle> bundleAL) {
            mBundleAL = bundleAL;
        } 
        @Override 
        public void onPageScrollStateChanged(int position) {
             
        } 
 
        @Override