public override Task <bool> InitializeAsync() { if (!IsInitialized) { Processing = true; if (SessionModel.Instance.Photo != null) { Preview = new PreviewViewModel(SessionModel.Instance.Photo); IsInitialized = true; } Processing = false; } return(Task.FromResult(IsInitialized)); }
public override Task<bool> InitializeAsync() { if (!IsInitialized) { Processing = true; if (SessionModel.Instance.Photo != null) { Preview = new PreviewViewModel(SessionModel.Instance.Photo); IsInitialized = true; } Processing = false; } return Task.FromResult(IsInitialized); }