Ejemplo n.º 1
0
 void SetupLostCousinsTabController()
 {
     lCReportsViewController = ChildViewControllers[5].ChildViewControllers[0] as LCReportsViewController;
     lCUpdatesViewController = ChildViewControllers[5].ChildViewControllers[1] as LCUpdatesViewController;
     ChildViewControllers[5].RemoveChildViewController(2); // hide Verification tab for now
     lCReportsViewController.LoadView();
     lCUpdatesViewController.LoadView();
 }
 public void UpdateLostCousinsReport(RelationTypes relationshipTypes, ProgressController progressController, LCReportsViewController lcReport)
 {
     RelationshipTypes  = relationshipTypes;
     ProgressController = progressController;
     LCReport           = lcReport;
     InvokeOnMainThread(() =>
     {
         Predicate <CensusIndividual> relationFilter = relationshipTypes.BuildFilter <CensusIndividual>(x => x.RelationType, true);
         LCUpdates           = new List <CensusIndividual>();
         LCInvalidReferences = new List <CensusIndividual>();
         string reportText   = FamilyTree.Instance.LCOutput(LCUpdates, LCInvalidReferences, relationFilter);
         StatsTextbox.Value  = reportText;
     });
 }