Android does not have main loop, but I have a ball in my arkanoid game test, and it needs to have the position changed every 100 ms.
I tried using MainThread library, but still it is not working.
If there was any possible way for me to override the function onRunning()
and put it to check if the screen was touched and move the ball would be great.
But considering as I can't change the onRunning()
function what could I do to add a function that will move my ball to the main game loop?