Exemple #1
0
        protected override async Task OnInitAsync()
        {
            // Simulate a web service call to get data
            await Task.Delay(Delay);

            Status = StringConstants.RandomText;

            // Ok - we're done loading. Notify the LoadStateManager!
            LoadState.OnLoadingComplete();
        }