public class AttributionDialogManager
extends java.lang.Object
implements android.view.View.OnClickListener, android.content.DialogInterface.OnClickListener
When the user clicks the attribution icon, onClick(View)
will be invoked.
An attribution dialog will be shown to the user with contents based on the attributions found in the map style.
Additionally an telemetry option item is shown to configure telemetry settings.
Constructor and Description |
---|
AttributionDialogManager(android.content.Context context,
MapboxMap mapboxMap) |
Modifier and Type | Method and Description |
---|---|
void |
onClick(android.content.DialogInterface dialog,
int which) |
void |
onClick(android.view.View view) |
void |
onStop() |
protected void |
showAttributionDialog(java.lang.String[] attributionTitles) |
public AttributionDialogManager(android.content.Context context, MapboxMap mapboxMap)
public void onClick(android.view.View view)
onClick
in interface android.view.View.OnClickListener
protected void showAttributionDialog(java.lang.String[] attributionTitles)
public void onClick(android.content.DialogInterface dialog, int which)
onClick
in interface android.content.DialogInterface.OnClickListener
public void onStop()
© 2015–2019 Mapbox. All rights reserved.