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.

When I attempt to bind to a property on the main page’s view model, it doesn’t work. I have created an example here…

https://github.com/robertmiles3/CardsViewBindingIssue

I have your CardsView library as the top example on the MainPage, and I have a CarouselView example below it. I like how your CardsView properly lays out in design mode while CarouselView doesn’t layout properly. However, CarouselView properly binds to Stats.Count1 (etc) while I can’t get your CardsView to bind like that.

Am I missing something in getting it to bind properly to the Stats property?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:25 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
robertmiles3commented, Jun 22, 2018

Awesome, thanks. Just updated in my main app and it resolved my issue.

1reaction
ryanhermancommented, Jun 22, 2018

I just ran into this issue where I set the BindingContext to my main view. When I load the CarouselView, it sets it to the main view, then overrides it to the view set.

I was able to temporarily fix this by protected override void OnParentSet() { base.OnParentSet(); Debug.WriteLine(“Done”); BindingContext = Navigation.NavigationStack[2]; }

but when you change views, it will reset again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The neural binding problem(s) - PMC
In its most general form, “The Binding Problem” concerns how items that are encoded by distinct brain circuits can be combined for perception,...
Read more >
Binding Problem - an overview
The binding problem considers that features of an object need to be bound together by some neuronal mechanism across a population of neurons, ......
Read more >
Binding Problem
The term “binding problem” usually refers to the binding of features such as color and shape in contrast to, for example, binding the...
Read more >
A new approach to solving the feature-binding problem in ...
The feature-binding problem concerns how the visual system represents the hierarchical relationships between features (such as edges and objects) ...
Read more >
Binding problem | Psychology Wiki | Fandom
"The binding problem is, basically, the problem of how the unity of conscious perception is brought about by the distributed activities of the...
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