-
- All Implemented Interfaces:
-
com.withgrowl.growlandroidsdk.mediation.tracking.AdRenderer
public final class AdMobNativeAdRenderer implements AdRendererAdMob's billing requires
NativeAdassets to be displayed inside a NativeAdView subtree with each asset View registered viasetHeadlineView(),setBodyView(),setIconView(), andsetCallToActionView(). This renderer builds that subtree and registers theNativeAdagainst it.Embedded by
GrowlRenderedAdViewviaAndroidView { renderer.makeView(it) }.releasecallsNativeAd.destroy()— JVM has no automatic cleanup hook for the native pointer Google Mobile Ads SDK holds, so the renderer must release it when the embedding composable leaves composition.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerminimumDisplayHeightDp
-
Constructor Summary
Constructors Constructor Description AdMobNativeAdRenderer(NativeAd nativeAd)
-