Code example for PagerAdapter

Methods: getItemPosition

0
	} 
 
	@Override 
	public int getItemPosition(Object object) {
		// TODO Auto-generated method stub 
		return super.getItemPosition(object);
	} 
 
	@Override 
	public void destroyItem(View arg0, int arg1, Object arg2) {
		// TODO Auto-generated method stub 
		((ViewPager) arg0).removeView(pageViews.get(arg1));
	} 
 
	@Override 
	public Object instantiateItem(View arg0, int arg1) {
		// TODO Auto-generated method stub 
		((ViewPager) arg0).addView(pageViews.get(arg1));
		return pageViews.get(arg1);
	}