how can i set back button in first click load ads , and if clicked two times then close the app
You can do that with a Timer. When clicked the first time set a Variable to true and start the timer with 300ms.
If the Timer runs out set the variable to false.
If the button is clicked when the Variable is true = it is clicked twice.
please can you make a block design for this , i dont know how to work with variables
first method
second method
1 Like