[android-developers] Prevent view from clearing the content

2011-07-19 Thread andrei-dmitriev
Folks, is there a way to tell the View not to clear the background on repaint and leave it to me? Know it's a bit illegal but... I looked through the api and none of it seem does what I wanted. Any clues? Thanks, Andrei -- You received this message because you are subscribed to the Google

[android-developers] EventQueue.peekMessage

2011-07-07 Thread andrei-dmitriev
Hi folks, why there is no a way to poll or peek the message from the event queue? I want it to implement the break for the routine running on the UI thread. private void longRoutine() { while (flag){ if (queue.peekMessage() != null) { return; } whatever the code

Re: [android-developers] EventQueue.peekMessage

2011-07-07 Thread andrei-dmitriev
called also appreciated. Thanks, Andrei 07.07.2011 17:18, Mark Murphy пишет: On Thu, Jul 7, 2011 at 9:11 AM, andrei-dmitriev andrei-dmitr...@yandex.ru wrote: why there is no a way to poll or peek the message from the event queue? I want it to implement the break for the routine running on the UI

[android-developers] View invalidation clears background

2011-06-29 Thread andrei-dmitriev
Hi All, is there a way to tell the View not to clear the background on repaint? I'm trying to draw a complex content and one of the approaches I'm trying to implement is to draw some piece of content and call invalidate. Unfrotunately the old content is missing after that. So any clues?