public void AddRows(List <Sample> sources) { foreach (Sample source in sources) { GalleryRow row = new GalleryRow(source); AddSubview(row); rows.Add(row); } }
public void AddRows(List <MapListRowSource> sources) { foreach (MapListRowSource source in sources) { GalleryRow row = new GalleryRow(source); AddSubview(row); rows.Add(row); } }
void OnRowClick(object sender, EventArgs e) { GalleryRow row = (GalleryRow)sender; NavigationController.PushViewController(row.Source.Controller, true); }