protected async override void OnElementChanged(ElementChangedEventArgs <CachedImage> e) { base.OnElementChanged(e); if (e.NewElement != null) { _zoomCachedImage = (ZoomCachedImage)e.NewElement; //create the scale image and set it as the native control so it's available _cachedScaleImageView = new CachedScaleImageView(Context, null); _cachedScaleImageView.zoomCachedImage = _zoomCachedImage; SetNativeControl(_cachedScaleImageView); await LoadImage(); } }
public CachedScaleImageViewGestureDetector(CachedScaleImageView imageView) { m_ScaleImageView = imageView; }