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

Popular posts from this blog

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -