Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

1-2s delay on page navigation - after page .ctor and before OnAppearing

$
0
0

I'm experiencing a 1-2 second delay navigating to one of my pages:

1) The page's constructor runs.
2) Then there is the delay.
3) Then the page visually changes and some "changed"-Events fire from Elements on the page.
4) Then OnAppearing is called.

Here is a debug-log:

2015-11-12 21:36:01.781 lc02iOS[3497:1604017] Navigate PgDlb_Szenen GotoSceneCommand
[0:] Navigate PgDlb_Szenen GotoSceneCommand
[0:]
2015-11-12 21:36:01.910 lc02iOS[3497:1604017] Szene Nr. 1
[0:] Szene Nr. 1
[0:]
2015-11-12 21:36:02.135 lc02iOS[3497:1604017] Start assigning Picker-Lists <- This happens @ the end of the .ctor
[0:] Start assigning Picker-Lists
[0:]
2015-11-12 21:36:02.264 lc02iOS[3497:1604017] Done assigning Picker-Lists
[0:] Done assigning Picker-Lists
[0:]
2015-11-12 21:36:02.391 lc02iOS[3497:1604017] Szene_Edit::OnViewConstruction
[0:] Szene_Edit::OnViewConstruction
[0:]
2015-11-12 21:36:02.536 lc02iOS[3497:1604017] Szene_Edit::OnViewConstruction - done <- .ctor done - now the 1-2s delay, see times!
[0:] Szene_Edit::OnViewConstruction - done
[0:]
2015-11-12 21:36:04.248 lc02iOS[3497:1604017] LichtleistungChangedCommand 1 <- Events start firing
[0:] LichtleistungChangedCommand 1
[0:]
2015-11-12 21:36:04.329 lc02iOS[3497:1604017] LichtleistungChangedCommand 2
[0:] LichtleistungChangedCommand 2
[0:]
2015-11-12 21:36:04.467 lc02iOS[3497:1604017] CctDimChangedCommand 1
[0:] CctDimChangedCommand 1
[0:]
2015-11-12 21:36:04.597 lc02iOS[3497:1604017] CctDimChangedCommand 2
[0:] CctDimChangedCommand 2
[0:]
2015-11-12 21:36:04.731 lc02iOS[3497:1604017] OnAppearing1 <- OnAppearing
[0:] OnAppearing1
[0:]
2015-11-12 21:36:04.861 lc02iOS[3497:1604017] OnAppearing base
[0:] OnAppearing base
[0:]
2015-11-12 21:36:04.987 lc02iOS[3497:1604017] OnAppearing done
[0:] OnAppearing done

What could be causing this delay? What happens during this phase? The UX ist quite bad, as the user doesn't see the page change until ca. 2s after tapping an Icon.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>