Code example for PagerAdapter

Methods: saveState

0
		super.restoreState(state, loader);
	} 
 
	@Override 
	public Parcelable saveState() {
		return super.saveState(); 
	} 
 
	@Override 
	public int getCount() { 
		if (views != null) {
			return views.size();
		} 
		return 0; 
	} 
 
	@Override 
	public boolean isViewFromObject(View arg0, Object arg1) {
		return arg0 == arg1;
	}