Advanced Usage - Hiding the Banner

View original article on our GitHub.

In order to hide an already displayed banner, find the banner's view and use the hideBanner()method.

For example:

Banner banner = ( findViewById(; 

Where is the banner's id from the layout XML file.

In order to show the banner again, simply use the showBanner() method.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request