AdropNativeAdView
Native ad view class responsible for displaying native ads to the user.
Public functions
fun setIconView(view: View, clickListener: OnClickListener?)
Connect icon ImageView with AdropNativeAdView
When icon ImageView clicked, move to destination URL if a clickListener is not passed.
fun setHeadLineView(view: View, clickListener: OnClickListener?)
Connect headline TextView with AdropNativeAdView
When headline TextView clicked, move to destination URL if a clickListener is not passed.
fun setBodyView(view: View)
Connect body TextView with AdropNativeAdView
fun setMediaView(view: AdropMediaView)
Connect AdropMediaView with AdropNativeAdView
fun setAdvertiserView(view: View, clickListener: OnClickListener?)
Connect advertiser TextView with AdropNativeAdView
When advertiser TextView clicked, move to destination URL if a clickListener is not passed.
fun setCallToActionView(view: View)
Connect call to action Button or TextView with AdropNativeAdView
fun setNativeAd(ad: AdropNativeAd)
Display native ad creative
Last updated