Efficient saving of Android AdMob interstitials -
scenario: activity initializes , loads admob interstitial. activity b starts on top of a, can cause destroyed reclaim resources. when user comes activity a, needs recreated , interstitial downloaded again.
what best way preserve downloaded interstitial?
the method onsaveinstancestate
seems unsuitable this.
the best solution have single activity , use 2 fragments within activity. way interstitial never destroyed.
Comments
Post a Comment