Pause viewport refresh
I am removing several views from my viewport, then displaying another. Code works fine, problem is I can see each view being removed and added. Is there a way to "pause" the update of the viewport when I perform these operation and "turn it back on" when I am done?
Are you removing all view items from Viewport and then display new view items on it? So you can move all your view items of the first scene into a container, move view items of the second scene into another container, set Viewport to card layout (without animation to disable visual switching effect) and declare/add these containers as its items. Whenever you want to display a scene, call Ext.Viewport.setActiveItem to show your desired scene. You can also optionally remove last scene after the call setActiveItem
Thanks for the idea. I will look into it.