public
static
interface
ZoomButtonsController.OnZoomListener
android.widget.ZoomButtonsController.OnZoomListener |
Interface that will be called when the user performs an interaction that triggers some action, for example zooming.
Public methods | |
---|---|
abstract
void
|
onVisibilityChanged(boolean visible)
Called when the zoom controls' visibility changes. |
abstract
void
|
onZoom(boolean zoomIn)
Called when the owner view needs to be zoomed. |
void onVisibilityChanged (boolean visible)
Called when the zoom controls' visibility changes.
Parameters | |
---|---|
visible |
boolean :
Whether the zoom controls are visible.
|
void onZoom (boolean zoomIn)
Called when the owner view needs to be zoomed.
Parameters | |
---|---|
zoomIn |
boolean :
The direction of the zoom: true to zoom in, false to zoom out.
|