CompassViewImpl

Constructor with context.

Parameters

context

fun CompassViewImpl(context: Context)

Constructor with context and attribute set.

Parameters

attrs

context

fun CompassViewImpl(context: Context, attrs: AttributeSet)

Constructor with context, attribute set and defStyleAttr.

Parameters

attrs

The attribution set.

context

defStyleAttr

An attribute in the current theme that contains a reference to a style resource that supplies defaults values for the StyledAttributes. Can be 0 to not look for defaults.

fun CompassViewImpl(context: Context, attrs: AttributeSet, defStyleAttr: Int)