I'm trying to use MvvmCross with XibFree for a table within an iOS application. I'm following the XibFree walkthrough for tables here:
and the MvvmCross N=6.5 walkthrough here:
The XibFree walkthrough calls for the layout to be added to the ContentView of the UITableViewCell in the constructor:
this.ContentView.Add(new UILayoutHost(layout, base.ContentView.Frame));
This works fine when my table cell inherits directly from UITableViewCell; however, if I inherit from MvxTableViewCell then ContentView is always null in the constructor. Looking through the source of MvvmCross I see that MvxTableViewCell inherits directly from UITableViewCell, doesn't appear to contain any code that modifies the ContentView, and calls the same UITableViewCell constructor that I call when inheriting directly from UITableViewCell (which works as expected).
Has anyone else seen this? Is there a workaround or will I need to go with a pure XibFree implementation for my iOS table?
Thanks in advance!