Banner Cache
Integrate banner cache
Last updated
Integrate banner cache
Last updated
Banner cache is currently only available on the branch.
To create banner cache, call createBannerCache
method:
You can change the cache configuration if needed. Please modify corresponding variables or pass more parameters to the constructor of BannerCacheConfiguration
(Android) orAATBannerCacheConfiguration
(iOS):
Next banner is consumed automatically when adding AATKitBanner
widget with passed type
parameter as AATKitBannerType.cached:
Banner is destroyed automatically when AATKitBanner
widget is no longer attached to the UI.
For proper memory management, BannerCache needs to be destroyed when is no longer needed. The destroyBannerCache
method destroys the BannerCache:
Please see to check how banner cache is integrated within ListView
widget. Please note our example app requires to call creating banner cache manually by pressing the Create banner cache
button from the .