to top
Android APIs
Added in API level 4
public static interface

ZoomButtonsController.OnZoomListener

android.widget.ZoomButtonsController.OnZoomListener

Class Overview

Interface that will be called when the user performs an interaction that triggers some action, for example zooming.

Summary

Public Methods

? Examples
abstract void onVisibilityChanged(boolean visible)
Called when the zoom controls' visibility changes.

? Examples
abstract void onZoom(boolean zoomIn)
Called when the owner view needs to be zoomed.

Public Methods

public abstract void onVisibilityChanged (boolean visible)

Added in API level 4

Called when the zoom controls' visibility changes.

Parameters
visible Whether the zoom controls are visible.

public abstract void onZoom (boolean zoomIn)

Added in API level 4

Called when the owner view needs to be zoomed.

Parameters
zoomIn The direction of the zoom: true to zoom in, false to zoom out.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.