HI
ArminKh1993 ?
Thank you for a good library?
There is a small bug in the "IsLoaded" control time
Returns the value "null" but the default should be "false"
Please test the following codes
[CODE lang="b4x" highlight="3"] InterstitialAd.Initialize("InterstitialAd")
Log(InterstitialAd.IsLoaded)
If InterstitialAd.IsLoaded = True Then
Log("InterstitialAd Is Loaded and go to show ad")
Else
InterstitialAd.LoadAdWithBuilder(xxx,builder)
End If
[/CODE]
B4X:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.android.gms.ads.InterstitialAd.isLoaded()' on a null object reference