public Facts(FactSource source) : this() { allFacts = true; facts = ft.GetSourceDisplayFacts(source); Text = "Facts Report for source: " + source.ToString() + ". Facts count: " + facts.Count; SetupFacts(); //dgFacts.Columns["CensusReference"].Visible = true; }
public Facts(FactSource source) : this() { allFacts = true; facts = ft.GetSourceDisplayFacts(source); Text = $"Facts Report for source: {source.ToString()}. Facts count: {facts.Count}"; SetupFacts(); //dgFacts.Columns["CensusReference"].Visible = true; Analytics.TrackAction(Analytics.FactsFormAction, Analytics.FactsSourceEvent); }
void SourcesFactRowClicked(FactSource source) { InvokeOnMainThread(() => { if (source != null) { App.ShowFacts(new FactsViewController <IDisplayFact>($"Facts Report for source: {source.ToString()}", source)); Analytics.TrackAction(Analytics.FactsFormAction, Analytics.FactsSourceEvent); } }); }