android - How can I reset PublisherAdView layout? -


i using publisheradview in our app show banner advertisements. requirement reload ad every 5 minutes , show each ad 20 seconds.

now using loadad method whenever second ad load's shows previous ad , populates new ad. there way can reset adview after 20 seconds can reload ad freshly. know destroy() method there according documentation should call on activity's destroy method.

does know how reset publisheradview??

thanks

there's no way clear content of publisheradview before loading second ad, i'm afraid.

you can, however, use adlistener determine when second ad has finished loading , show publisheradview afterwards. use onadloaded callback.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -