Code example for FragmentActivity

Methods: onConfigurationChanged

0
	private ViewPager mViewPager;  
    private TLPagerAdapter mTLPagerAdapter;
     
    @Override  
    public void onConfigurationChanged(Configuration newConfig) { 
        super.onConfigurationChanged(newConfig); 
    } 
     
	@Override 
	protected void onSaveInstanceState(Bundle outState) {
		super.onSaveInstanceState(outState);
	} 
 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main); 
		TitlePageIndicator indicator =
		        (TitlePageIndicator)findViewById( R.id.indicator ); 
		mViewPager = (ViewPager) findViewById(R.id.viewpager);
		mTLPagerAdapter = new TLPagerAdapter(getSupportFragmentManager());