public static DefaultZoomableController newInstance() {
    return new DefaultZoomableController(TransformGestureDetector.newInstance());
  }
Interface for handling call backs when the image bounds are set.
samples/zoomable/src/main/java/com/facebook/samples/zoomable/DefaultZoomableController.java