Hi,
Not sure what I did wrong, but for some reason my app will crash with a NullPointerException when my app is paused (inactivity). It's failing in the Activity_Pause sub.
I'm calling it in Activity_Create and the ad is loaded with no problems... I don't know what's going on :/
Not sure what I did wrong, but for some reason my app will crash with a NullPointerException when my app is paused (inactivity). It's failing in the Activity_Pause sub.
I'm calling it in Activity_Create and the ad is loaded with no problems... I don't know what's going on :/
B4X:
Sub Activity_Pause (UserClosed As Boolean)
AdView1.Pause
End Sub