Say you have a stateful widget (name it ÌnterstitialAd
) which implements a Google AdMob interstitial ad; you placed it in the parent splash screen in the hope it shows the ad up.
Unfortunately, the splash makes some setState()
hence triggering the rebuild many times.
As a consequence, ÌnterstitialAd
triggers many interstitial ad.
What would be the best approach to prevent this issue?