public interface INativeAdInflater
views
for native ads.Modifier and Type | Method and Description |
---|---|
boolean |
isAdView(View view)
Returns whether the view is not
null and is a view for a native ad. |
View |
render(NativeAd ad,
View convertView,
ViewGroup parent,
AdListener adListener)
Returns an inflated (or recycled) view with fields and click listeners set.
|
boolean isAdView(View view)
null
and is a view for a native ad.view
- view to checkView render(NativeAd ad, View convertView, ViewGroup parent, AdListener adListener)
ad
- ad to populate the viewconvertView
- view that can be reused if it's the right type.parent
- new ad view's parentadListener
- event listener