New navigation service doesn't seem to be truly async as opposite to old ShowViewModel() navigation #2071
Closed
1 of 4 tasks
Labels
Milestone
Steps to reproduce
Download Playground sample from https://github.com/MvvmCross/MvvmCross/tree/develop/TestProjects/Playground
In ./Playground.Core\ViewModels\Tab1ViewModel.cs, override initializer and add a couple of dummy other overridings (just to be able to set breakpoints and follow the call sequence):
Expected behavior
I'm expecting the view to appear immediately (as it does for ShowViewModel()), then ViewAppearing() and ViewAppeared() should be called, and after that the Initialize() should complete when Task.Delay(2000) is done. Possibly this issue is pretty close to #2046
Actual behavior
The app is freezing and waiting for Task.Delay(2000)'s completion, and after that ViewAppearing() and ViewAppeared() are called.
Configuration
Version: 5.1.0, tested sample is from 491b012 with updated Playground.
Platform:
The text was updated successfully, but these errors were encountered: