question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to see items at runtime

See original GitHub issue

I have verified that I have items in the collection. At design time I can see the items, but at runtime the view is blank. I’m using the ObservableRangeCollection for the List to bind to

VIew:

<ContentPage.Content>
        <StackLayout 
            VerticalOptions="FillAndExpand" 
            HorizontalOptions="FillAndExpand"
            BackgroundColor="#e9e9e9"
            
            >

            <cards:CarouselView BackgroundColor="Pink"
    ItemsSource="{Binding RecipeList}"  VerticalOptions="FillAndExpand" 
            HorizontalOptions="FillAndExpand"
                >
                <cards:CarouselView.ItemTemplate>
                    <DataTemplate>
                        <ContentView>
                            <Frame 
                                BackgroundColor="Yellow"
                                VerticalOptions="Center"
                                HorizontalOptions="Center"
                                HeightRequest="300"
                                WidthRequest="300"
                                Padding="0" 
                                HasShadow="false"
                                IsClippedToBounds="true"
                                CornerRadius="10"
                                >

                                <Image Source="{Binding PhotoFilename}" WidthRequest="300" HeightRequest="300"  />
                            </Frame>
                        </ContentView>
                    </DataTemplate>
                </cards:CarouselView.ItemTemplate>

            </cards:CarouselView>

        </StackLayout>
    </ContentPage.Content>

AppDelegate:

      global::Xamarin.Forms.Forms.Init();
		
			CardsViewRenderer.Preserve();
			

			LoadApplication(new App());
			

			return base.FinishedLaunching(app, options);

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nick5454commented, Apr 18, 2019

This was an issue with my app using MVVM and tabs.

0reactions
AndreiMisiukevichcommented, Apr 18, 2019

@nick5454 great to know)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Find ProjectName.resources File at Runtime
At runtime, when a specific form is created, it fails with an error, stating it cannot find a file. The filename is ProjectName.resources....
Read more >
Runtime Error: R6025 -- Unable to see location of program ...
Run ProcessExplorer, use the crosshair from toolbar. Process Explorer CrossHair. and move it to the Error message.
Read more >
Cannot find element at runtime
I have problem finding webElement in runtime. When I run my test, ranorex can find some elements at beginning of test such as:...
Read more >
Item, can't find model.json at runtime - Modder Support
The thing is: I have an Item, a .json model stored under my {modid}/models/item/ a... ... Item, can't find model.json at runtime ......
Read more >
Unable to view/edit runtime settings in LRE
Currently, with all the projects no one is able to view the runtimes settings in LRE. Cause This issue came when the service...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found