void ReleaseDesignerOutlets() { if (ActivityLoader != null) { ActivityLoader.Dispose(); ActivityLoader = null; } if (ButtonSearch != null) { ButtonSearch.Dispose(); ButtonSearch = null; } if (TableFavorites != null) { TableFavorites.Dispose(); TableFavorites = null; } if (TextSearch != null) { TextSearch.Dispose(); TextSearch = null; } }
public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); ActivityLoader.StopAnimating(); var source = new FavoriteTableViewSource(new List <string>(GlobalSettings.FavoritesList.Keys)); TableFavorites.Source = source; TableFavorites.ReloadData(); }