I would like a thread sleep function (which blocks user input) for x milliseconds
To give you an idea why, I have a Toast message popping up showing a message, followed by the app switching views
At the moment the app will immediately switch views because the toast message is non-blocking
I could use timers as a way to delay the switching although the user would still be able to bash away at the buttons
Is a thread Sleep() function feasible?
B4X:
Sleep(250)
To give you an idea why, I have a Toast message popping up showing a message, followed by the app switching views
At the moment the app will immediately switch views because the toast message is non-blocking
I could use timers as a way to delay the switching although the user would still be able to bash away at the buttons
Is a thread Sleep() function feasible?