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,
DingiMap dingiMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClick(android.content.DialogInterface dialog,
int which) |
void |
onClick(android.view.View view) |
protected void |
showAttributionDialog(java.lang.String[] attributionTitles) |
public AttributionDialogManager(@NonNull
android.content.Context context,
@NonNull
DingiMap dingiMap)
public void onClick(@NonNull
android.view.View view)
onClick in interface android.view.View.OnClickListenerprotected void showAttributionDialog(@NonNull
java.lang.String[] attributionTitles)
public void onClick(android.content.DialogInterface dialog,
int which)
onClick in interface android.content.DialogInterface.OnClickListener