android - Show and hide banner admob for a custom time -


this code , working perfectly:

   adview madview = (adview) findviewbyid(r.id.adview);    adrequest adrequest = new adrequest.builder().build();    madview.loadad(adrequest); 

however, want banner show amount of seconds , hide, showing again later. best way it? thanks!!

you can set timer , hide entire ad layout after timeout after displayed.

this easiest way achieve requirement.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -