BannerView

constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)(source)

Parameters

context
attrs

AttributeSet from XML inflation, if any. Since this view inherits from ImageView you can set attributes as you would with a regular ImageView.

defStyleAttr

default style attribute, as for any View.