attach To Layout
abstract fun attachToLayout(layout: ViewGroup, mainImageView: View?, iconView: View?, ctaView: View?)
Binds the native ad instance with given ViewGroup. Needed for click handling and tracking.
Parameters
layout
ViewGroup used to render the native ad.
main Image View
View used to show the main image of the ad. Can be null.
icon View
View used to show the icon of the native ad.
cta View
View used to show the Call To Action of the native ad. Can be null.