I make form switching as i would use double buffer in a game.
I prepare a form and then i switch it.
I do this to avoid glitches and delays with widget operations(append and delete).
The switch works perfectly on the phone, but, there is a problem with on the emulator, ui events are no more returned to the commandAction function.
Events seem to be launched because in debug mode (with the events case marked), the emulator prints accurate messages.
This happened after the second switch when i display a input form (I can't enter anything, options don't respond).
I call setCommandListener(this); in the form constructor, forms implement the CommandListener interface.
And i tested with a call after each setCurrent call, nothing change.
All the ui code is executed in the ui thread.
On the phone, there is no problem.
Anyone can help me ?
Thanks for your help.