So, after some digging, I believe that CustomCell isn’t in the current VisualStudio/Xamarin package. Therefore, I copied the current Eto dll from GitHub into my project.
I finally found a solution that works in the Windows WIP, however, on the Mac, Xamarin says: “Could not load type ‘Eto.Forms.CustomCell’ from assembly ‘Eto, Version=2.1.5787.24910, Culture=neutral, PublicKeyToken=null’.”
Any idea why this could be the case?
The code is the following:
DataCell = new CustomCell
CreateCell = args =>
RadioButton rb = new RadioButton();
BindableBinding<RadioButton, bool> binding = new BindableBinding<RadioButton, bool>(rb, c => c.Checked, (c, v) => c.Checked = v, (c, h) => c.CheckedChanged += h, (c, h) => c.CheckedChanged -= h);
binding.BindDataContext<MyClass>(a => a.IsActive, (a, val) => a.IsActive = val);
binding.DataValueChanged += (sender, e) =>
//Update all items in List<RadioButton> rbl...
HeaderText = "Active",
Editable = true