AttributionView

interface AttributionView

Interface for attribution view.

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

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
requestLayout
Link copied to clipboard
abstract fun requestLayout()
Call this when something has changed which has invalidated the layout of this view.
setAttributionMargins
Link copied to clipboard
abstract fun setAttributionMargins(@Px() left: Int, @Px() top: Int, @Px() right: Int, @Px() bottom: Int)
Set the margins of the attribution view.
setEnable
Link copied to clipboard
abstract fun setEnable(enabled: Boolean)
Set whether the attribution view is enabled.
setGravity
Link copied to clipboard
abstract fun setGravity(gravity: Int)
Set the gravity value of the attribution view.
setIconColor
Link copied to clipboard
abstract fun setIconColor(@ColorInt() color: Int)
Set the attribution tint color
setViewOnClickListener
Link copied to clipboard
abstract fun setViewOnClickListener(listener: View.OnClickListener)
Set an View.OnClickListener to AttributionView
toString
Link copied to clipboard
open fun toString(): String

Inheritors

AttributionViewImpl
Link copied to clipboard