protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);
            PhotoView mImageView = FindViewById <PhotoView>(Resource.Id.iv_photo);

            mCurrMatrixTv = FindViewById <TextView>(Resource.Id.tv_current_matrix);

            Drawable bitmap = Resources.GetDrawable(Resource.Drawable.wallpaper);

            mImageView.SetImageDrawable(bitmap);

            // The MAGIC happens here!
            mAttacher = new PhotoViewAttacher(mImageView);

            // Lets attach some listeners, not required though!
            mAttacher.SetOnMatrixChangeListener(new MatrixChangeListener(this));
            mAttacher.SetOnPhotoTapListener(new PhotoTapListener(this));
        }
 public void SetOnMatrixChangeListener(PhotoViewAttacher.IOnMatrixChangedListener listener)
 {
     mAttacher.SetOnMatrixChangeListener(listener);
 }