library / com.otaliastudios.zoom / ZoomEngine / <init>

<init>

ZoomEngine(context: Context, container: View)

Constructs an helper instance.

Parameters

context - a valid context

container - the view hosting the zoomable content

ZoomEngine(context: Context, container: View, listener: Listener)

Constructs an helper instance. Deprecated: use addListener to add a listener.

Parameters

context - a valid context

container - the view hosting the zoomable content

listener - a listener for events