How to show intrestial ad, after every 5 click
Button1 {open another screen1}
Button2 {open another screen2}
Button3 {open another screen3}
Button4 {open another screen4}
if I do activity{5 clicks} in any screen
then I want to show intrestial ads
Use a tinyDB to store the value and then retrieve the value on any screen. I would recommend you implement a timer alongside the clicks to only show and ad if the click count > 5 AND the time since last ad is over 2min. Otherwise you will annoy your users.