Code example for PagerAdapter

Methods: restoreState

0
		return views.get(position);
	} 
 
	@Override 
	public void restoreState(Parcelable state, ClassLoader loader) {
		super.restoreState(state, loader);
	} 
 
	@Override 
	public Parcelable saveState() {
		return super.saveState(); 
	} 
 
	@Override 
	public int getCount() { 
		if (views != null) {
			return views.size();
		} 
		return 0; 
	} 
Stop searching for code, let great code find you!  Add Codota to your java IDE