zoom level listener in google maps v2 in android

android, google-maps, google-maps-android-api-2, google-maps-mobile

Solution

Create an implementation of `OnCameraChangeListener`, and pass an instance of it to `setOnCameraChangeListener()` of your `GoogleMap`. Your listener should be called with `onCameraChange()` whenever the user changes the zoom, center, or tilt. You find out the new zoom level from the `CameraPosition` object that you are passed.

Problem

I'm developing an Android app that is supposed to use Google Maps v2. Now i'm stuck at finding when zoom level of map has changed. Can anyone help me?Thanks in advance.

Original source