public class AttributionDialogManager extends Object implements View.OnClickListener, 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(Context context,
MapboxMap mapboxMap) |
Modifier and Type | Method and Description |
---|---|
void |
onClick(DialogInterface dialog,
int which) |
void |
onClick(View view) |
void |
onStop() |
protected void |
showAttributionDialog(String[] attributionTitles) |
public void onClick(View view)
onClick
in interface View.OnClickListener
protected void showAttributionDialog(String[] attributionTitles)
public void onClick(DialogInterface dialog, int which)
onClick
in interface DialogInterface.OnClickListener
public void onStop()
© 2015–2019 Mapbox. All rights reserved.