コード例 #1
0
        protected override async void OnAppearing()
        {
            var images = await FetchMediaService.CallImagesEndpoint();

            ImagesList     = images;
            cv.ItemsSource = ImagesList;
        }
コード例 #2
0
ファイル: TwoPage.xaml.cs プロジェクト: owlstack/Nevarro
        protected override async void OnAppearing()
        {
            DualScreenLayoutInfo.PropertyChanged   += OnFormsWindowPropertyChanged;
            DualScreenInfo.Current.PropertyChanged += OnFormsWindowPropertyChanged;
            var images = await FetchMediaService.CallImagesEndpoint();

            ImagesList     = images;
            cv.ItemsSource = ImagesList;
            SetupCollectionViewLayoutAsync();
        }