Пример #1
0
 public MonkeyTemplateSelector(XamListView parentList) : base(
         parentList,
         null, //unused, we will always use our multiColumnCell even with Columns = 1, otherwise set for 1 column case
         typeof(MonkeysRow),
         typeof(CellMonkey))
 {
     //todo you can add you own template for OnSelectedTemplate override
 }
Пример #2
0
        public MonkeysRow(Type childCell, XamListView list) : base(childCell, list)
        {
            MainGrid.BackgroundColor = Color.WhiteSmoke;

            CenteredCell = new DataTemplate(typeof(MonkeyCellCentered));
        }