Hello Guys,
In This Guide I Will Tell You That How To Add Double Back Press To Close An Application
Components Required -
-
Clock Component
-
Notifier Component
Blocks -
Note -
- Set Clock Time Interval To 500ms
Hello Guys,
In This Guide I Will Tell You That How To Add Double Back Press To Close An Application
Clock Component
Notifier Component
Add some more ways also
Very useful guide, I’m waiting for more guides
Very useful guide, I’m waiting for more guides
Really nice guide
before this i use TinyDb also.
Me also
We can usr index method too easily instead of clock component.
Initialize a global index variable to 0
On back pressed
Set index to get index +1
If get index =1
Then Alert user to back press again to exit
Else close application