ru.dgis.sdk.navigation.CustomDashboardButton | Android SDK | 2GIS Documentation
Android SDK

CustomDashboardButton

Class for replacing the standatd button for adding road events in the navigator dashboard.

CustomDashboardButton(icon: Int, onClick: Function0<Unit>)

Class for replacing the standatd button for adding road events in the navigator dashboard.

Parameters
icon
onClick
Returns
Properties

ID of a Drawable resource to be used as a button icon.

Action that is taken upon the button click.