public ActiveAudits() { auditServiceManager = UnityConfig.IAuditServiceManager; auditManager = UnityConfig.IAuditManager; InitializeComponent(); //DownloadNewAuditAndSave(); var activeAudits = GetActiveAudits(); }
public ListAudits() { InitializeComponent(); this.auditServiceManager = UnityConfig.IAuditServiceManager; //listView.ItemTemplate = new DataTemplate(typeof(TextCell)); // has context actions defined //listView.ItemTemplate.SetBinding(TextCell.TextProperty, "userId"); //listView.ItemTemplate.SetBinding(TextCell.DetailProperty, "body"); listView.ItemsSource = GetAudits(); }