Example #1
0
        public void PresentFamilyPage(Rock.Client.Family family)
        {
            // add this family to the history bar, and setup a delegate that will call the internal presentation function
            HistoryBar.TryPushHistoryItem(family, PresentFamilyPage_Internal);

            // call the presentation function
            PresentFamilyPage_Internal(family);
        }
Example #2
0
        public void FamilyUpdated(Rock.Client.Family family)
        {
            // this is called when a page (likely the current family page) updates a family.
            // This lets us notify SearchFamilies and the HistoryBar.
            if (HistoryBar.TryUpdateHistoryItem(family) == false)
            {
                // it failed to update, so it's likely a new family. Add it to the history.
                HistoryBar.TryPushHistoryItem(family, PresentFamilyPage_Internal);
            }

            SearchFamiliesViewController.TryUpdateFamily(family);
        }