|
@@ -11,13 +11,14 @@ class AdmobAdManager : AdManager {
|
|
|
private lateinit var context: Context
|
|
|
private lateinit var interstitialAdManager: InterstitialAdManager
|
|
|
private lateinit var nativeAdManager: NativeAdManager
|
|
|
+
|
|
|
override var isInitialized = false
|
|
|
override val onInitListeners = CopyOnWriteArrayList<Runnable>()
|
|
|
override var isPersonalized: Boolean = true
|
|
|
set(value) {
|
|
|
field = value
|
|
|
- nativeAdManager?.isPersonalized = value
|
|
|
- interstitialAdManager?.isPersonalized = value
|
|
|
+ interstitialAdManager.isPersonalized = value
|
|
|
+ nativeAdManager.isPersonalized = value
|
|
|
}
|
|
|
|
|
|
override fun init(context: Context, adAppId: String, adUnitId: String, volume: Float) {
|