.size();         }          @Override         public boolean isViewFromObject(View view, Object object) {             return view == ((SubsamplingScaleImageView) object);         }          @Override         public Object instantiateItem(ViewGroup container, int position) {             Context context = ImageGallery.this;              SubsamplingScaleImageView fullImage =              new SubsamplingScaleImageView(ImageGallery.this);         