In the olden days developing windows applications I made use of an API call (LOCKWINDOWUPDATE(HWND)). It would lock updating of the screen while you do stuff so that if you don't want the user to see a complex series of UI changes you can prevent that from occurring. You'd lock the updating by passing in the handle to the window to stop updating, do your changes and then you'd unlock by passing (0) and boom, it's in the new state.
As I understand this is not the intended use of the call but I did it anyway (as did many others) because it was too useful in a lot of situations. Anyhoo, there have been many occasions with Android that I could have made use of such functionality and today I have a need for it again. Does anyone know of any equivalent APIs or techniques to accomplish this?
Again, I want to have the screen freeze at a current state make changes and then show it when it's in the new state. Any idea?