NativeAdView

NativeAdView represents root view for native ad. Views for all of the required assets should be set. If any of the required views is not provided for native ad which contains corresponding assets, binding fails. Optional views may be provided to increase CTR.

Constructors

Link copied to clipboard
constructor(context: Context)

Constructs a new NativeAdView programmatically.

constructor(context: Context, attrs: AttributeSet?)

Constructs a new NativeAdView from XML layout file.

constructor(context: Context, attrs: AttributeSet?, @AttrRes defStyleAttr: Int)

Constructs a new NativeAdView from XML layout file.

constructor(context: Context, attrs: AttributeSet?, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int)