Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Binding in a custom view/List

$
0
0

So i'm new like a lot of people to xamarin/mvvm but I try my best:

I have this layout: https://gist.github.com/NeoDigi/ce4cfbabef1b8e2d9091

That can have children and the children will be charts: https://gist.github.com/NeoDigi/531c522b088484971232

And I have my viewModel: https://gist.github.com/NeoDigi/7af07a2cfc9551a09539 and my view: https://gist.github.com/NeoDigi/d4678f171b84ce5a36f5

And i'm trying to have it working.

When I put my code in the code-behind the view; it works great; the charts are displayed one by one as I get the data from the webservices.
But when I'm trying to do it in the viewModel it just doesn't work.

From what I read I might have to implement a BindableProperty in the custom Layout but I'm really confuse of the step I need to take to make it works ...

Thanks in advance!


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>