Skip to content

Destroy vs Hide banner #101

Answered by gumaciel
takhimi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the difference between Destroy and Hide is:

Destroy: will completely destroy the application's ad Banner, in other words the ad will no longer display and exist and you will need to call again the method load_banner()
Hide: will only hide the ad Banner so you can Show the banner instantly, without needing call load_banner()

You can use destroy_banner() if you prefer a greater performance gain (I believe the gain is very little, but depending on the cell phone it can be a good gain) and also don't have problem if it takes a few seconds for the Banner to appear again.

You can use hide_banner() if you prefer the banner to appear instantly and if it is loaded previously, use show_banner()

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by takhimi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants