Solved Rendering of the View on Screen
-
Hi All,
When I click a button in my application, there are multiple actions which happens.
Task1 : changing the state of button ,
Task2: opening of a Menu in a loader,
Task 3: after the Menu Loader state is changed to Ready , there is a repositioning that occurs in other fields in the UI.
So my question is when will I be able to view the Menu on the screen, After Task1, Task2 and Task3 or immediately after Task2? -
hi @Anita
that highly depends on how you "execute those tasks"
But as a rule of thumb, Showing any widget/qml component is done on the next event loop cycle. So probably T1-> T2->T3 -> Shown
-
Thank You . For Clarification.