@Override
        public void onSizeChanged(int widthPx, int heightPx) {
          updateRegion();
        }
Simple region decoding example that renders the original image and a selected region.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imagepipeline/ImagePipelineRegionDecodingFragment.java