Caliburn-Micro / Caliburn.Micro

A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
http://caliburnmicro.com/
MIT License
2.8k stars 778 forks source link

can't activate child IScreen in OnActivateAsync #715

Closed a44281071 closed 4 years ago

a44281071 commented 4 years ago

Shoud we add a new property such as IsActivating ? When invoke method await ActivateItemAsync(), this Conductor.IsActive is false.

        protected override async Task OnActivateAsync(CancellationToken cancellationToken)
        {
            await base.OnActivateAsync(cancellationToken);
            eventAggregator.SubscribeOnUIThread(this);

            await ActivateItemAsync(RankingScreen);
            await ActivateItemAsync(LiveVideoScreen);
            Meeting = await _httpAccessor.MeetingsDetailsAsync(Meeting.MeetId);         
        }
a44281071 commented 4 years ago

could not active child screen before this parent conductor actived.