rememberNativeAdCache
fun rememberNativeAdCache(maxAdAge: Duration = NativeAdCache.DefaultMaxAdAge): NativeAdCache(source)
Remembers a NativeAdCache for the current screen and destroys its ads when the screen leaves.
Call it outside the lazy layout whose slots use it; a cache remembered inside an item is disposed with that item and keeps nothing.
Parameters
maxAdAge
how long a loaded ad may be kept before its slot requests a fresh one.