Hello, i am having problems with my very first android game.
I've been working with java SE for very long time but i am more likely in first touch with android SDK!
I've made loop that continues until the game is closed which repaints screen throught "postInvalidate();", but for now the game seems to get too slow sometimes, and when i say slow, i mean the reflesh rate. But it seems if i make new thread(runnable) running on UI thread its even slower because UI threads seems to sleep cuz it thinks its not high prioritied to repaint the screen.
The question is this: how i can improve the performance of my game, or how can i make the UI thread not to sleep. Also i need any other advice with Invalidate/repainting/graphics/canvas. Thank you!