I haven't tried it myself, but this should work:
- create class extending
ClusterManager
- override
onInfoWindowClick
and callsuper.onInfoWindowClick
- check if
Marker
sent to you as a parameter is the one you added viaGoogleMap.addMarker
- do your stuff
If you are not happy with a code like that, Android Maps Extensions has such a functionality built in with a call to
marker.setClusterGroup(ClusterGroup.NOT_CLUSTERED);