:idea: The "problem" is, that for security reasons, only the Thread that created the View is allowed to do sth. with it, like redrawing it with an invalidate();-call. So we need an Object 'in' the GUI-Thread that receives messages that mean like: "Hey 'Main-Thread' update your gui!". We will use a so called Handler for that.
- There will be a Thread, that sends a message that means "UPDATEYOURGUI" to the Handler.
- In the GUI-Thread, when the Handler receives the Message("UPDATEYOURGUI") it causes an invalidate(); to all participating Views.
If this is still not clear, feel free to ask your question
See the :src: PizzaTimer-Tutorial for actual code
plusminus wrote::lol: two answers at the same time, I was a bit faster
But thanks for your response @kaobiore.
Users browsing this forum: Google [Bot] and 15 guests