Code example for ImageView.ScaleType

Methods: name, ordinal

0
			imageView = mImageView.get();
		} 
 
		// If we don't have an ImageView, call cleanup() 
		if (null == imageView) {
			cleanup(); 
			throw new IllegalStateException(
					"ImageView no longer exists. You should not use this PhotoViewAttacher any more."); 
		} 
 
		return imageView;
	} 
 
	@Override 
	public float getMinScale() { 
		return mMinScale;
	} 
 
	@Override 
	public float getMidScale() { 
		return mMidScale;