Hi All,
I have a curious effect here. I'm adding some menu items via Activity.AddMenuItems in Activity_Create.
Now I have some initializations like Table, LoadSQL etc... that all works perfect no problem with that.
When I'm trying to show a Busy Initicator during these inits via ProgressDialogShow it does not show the dialog.
When I'm using Sleep(100) right after the ProgressDialogSHow is shows it but then the Menu is not showing.
My question: Is it bad practice to use Sleep in Create of what has the menu todo with this. Invalidate Activity does not help either.
Regards.
I have a curious effect here. I'm adding some menu items via Activity.AddMenuItems in Activity_Create.
Now I have some initializations like Table, LoadSQL etc... that all works perfect no problem with that.
When I'm trying to show a Busy Initicator during these inits via ProgressDialogShow it does not show the dialog.
When I'm using Sleep(100) right after the ProgressDialogSHow is shows it but then the Menu is not showing.
My question: Is it bad practice to use Sleep in Create of what has the menu todo with this. Invalidate Activity does not help either.
Regards.