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