Code example for FragmentPagerAdapter

Methods: getSupportFragmentManager

0
	 
	public class CustomPageAdapter extends FragmentPagerAdapter { 
		private int m_PageCount;
		   
		public CustomPageAdapter( int page_count ) {
			super( getSupportFragmentManager() ); 
			m_PageCount = page_count;
		} 
		   
		@Override 
		public int getCount() { 
			return m_PageCount;
		} 
		   
		@Override 
		public Fragment getItem(int position) {
			return m_Fragments.get( position );
		} 
		  
		@Override 
		public CharSequence getPageTitle(int position) {