sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.arrowbuttons / ArrowButton

ArrowButton

open class ArrowButton : AppCompatImageView

Button that represents one of UI extension arrow button controls. When button is clicked it can move camera position UP, DOWN, LEFT, RIGHT depending on implementation.

Types

ArrowIcon

class ArrowIcon

Determines the type of arrow icon.

Constructors

<init>

ArrowButton(context: Context!)

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

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

Custom constructor to provide custom set of attributes.

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

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

Functions

parseIconRes

open fun parseIconRes(arrowIcon: ArrowButton.ArrowIcon!, applyDefaultIcon: Boolean): Unit

Method used to load arrow icon for arrow button.