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; 
	} 
Experience pair programming with AI  Get Codota for Java