Code example for FragmentPagerAdapter

Methods: destroyItem

0
		return new ImageViewFragment(URLs.get(i));
	} 
 
	@Override 
	public void destroyItem(ViewGroup container, int position, Object object) {
		super.destroyItem(container, position, object);
	} 
 
	@Override 
	public int getCount() { 
		return URLs.size();
	} 
 
	@Override  
	public CharSequence getPageTitle(int position) {
 
		return URLs.get(position);
	} 
}