Code example for PagerAdapter

Methods: getLayoutInflater

0
	private class ImagePagerAdapter extends PagerAdapter { 
 
		private String[] images;
		private LayoutInflater inflater;
 
		ImagePagerAdapter(String[] images) {
			this.images = images;
			inflater = getLayoutInflater();
		} 
 
		@Override 
		public void destroyItem(ViewGroup container, int position, Object object) {
			((ViewPager) container).removeView((View) object);
		} 
 
		@Override 
		public void finishUpdate(View container) {
		} 
 
		@Override 
		public int getCount() {