sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.zoom / ZoomButton / <init>

<init>

ZoomButton(context: Context!)

Default constructor that takes context to initialize this subclass of AppCompatImageView.

Parameters

context - Context!: view context.

ZoomButton(context: Context!, attrs: AttributeSet!)

Custom constructor to provide custom set of attributes.

Parameters

context - Context!: view context.

attrs - AttributeSet!: set of custom attributes.

ZoomButton(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Custom constructor to provide custom set of attributes and a reference to default style resource.

Parameters

context - Context!: view context.

attrs - AttributeSet!: set of custom attributes.

defStyleAttr - Int: attribute that contains a reference to a style resource, that supplies default values for styled attributes. Should be different than 0 in this constructor, otherwise use ZoomButton#ZoomButton(Context, AttributeSet).