Hello,
I have implemented a List that I want to populate with custom cells. So I made a working Model/ViewModel/View logic for this.
My problem is that in the view "Cell_View" i create my labels that I want to bind such as :
var nameLabel = new Label()
{
FontSize = 18,
TextColor = Color.White
};
//nameLabel.SetBinding(Label.TextProperty, "Name");
The project is correctly building on my colleague PC, but on my own I got some errors when I uncomment
nameLabel.SetBinding(Label.TextProperty, "Name");
The errors (for every binding I made) are like this :
Code : CS0012
Description : Type 'Expression<>' defined in an assembly not referenced, add a reference to assembly 'System.Linq.Expressions'
Project : Project.Droid
File : ListView_Cell
Problem is, it shouldn't look for this specific assembly because SetBinding is not in System.Linq.Expressions
What should I do ? Where should I look ?
If you got some piece of advice it would be of great help,
Thanks !