AttributionView

Interface for attribution view.

The attribution view implementation class should implement both the AttributionView interface and a View class (e.g ImageView).

interface AttributionView

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
requestLayout
Link copied to clipboard

Call this when something has changed which has invalidated the layout of this view. This will schedule a layout pass of the view tree.

abstract fun requestLayout()
setAttributionMargins
Link copied to clipboard

Set the margins of the attribution view.

abstract fun setAttributionMargins(@Px() left: Int, @Px() top: Int, @Px() right: Int, @Px() bottom: Int)
setEnable
Link copied to clipboard

Set whether the attribution view is enabled.

abstract fun setEnable(enabled: Boolean)
setGravity
Link copied to clipboard

Set the gravity value of the attribution view.

abstract fun setGravity(gravity: Int)
setIconColor
Link copied to clipboard

Set the attribution tint color

abstract fun setIconColor(color: Int)
setOnClickListener
Link copied to clipboard

Set an View.OnClickListener to AttributionView

abstract fun setOnClickListener(listener: View.OnClickListener)
toString
Link copied to clipboard
open override fun toString(): String

Inheritors

AttributionViewImpl
Link copied to clipboard