Back to project page downtown.
The source code is released under:
GNU General Public License
If you think the Android project downtown listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.google.maps.android.clustering.view; // w w w . j a v a2 s. com import com.google.maps.android.clustering.Cluster; import com.google.maps.android.clustering.ClusterItem; import com.google.maps.android.clustering.ClusterManager; import java.util.Set; /** * Renders clusters. */ public interface ClusterRenderer<T extends ClusterItem> { /** * Called when the view needs to be updated because new clusters need to be displayed. * @param clusters the clusters to be displayed. */ void onClustersChanged(Set<? extends Cluster<T>> clusters); void setOnClusterClickListener(ClusterManager.OnClusterClickListener<T> listener); void setOnClusterInfoWindowClickListener(ClusterManager.OnClusterInfoWindowClickListener<T> listener); void setOnClusterItemClickListener(ClusterManager.OnClusterItemClickListener<T> listener); void setOnClusterItemInfoWindowClickListener(ClusterManager.OnClusterItemInfoWindowClickListener<T> listener); /** * Called when the view is added. */ void onAdd(); /** * Called when the view is removed. */ void onRemove(); }