public override void DidEnterBackground(UIApplication application) { // Use this method to release shared resources, save user data, invalidate timers and store the application state. // If your application supports background exection this method is called instead of WillTerminate when the user quits. Console.WriteLine("DidEnterBackground: Clearing stations cache."); StationsCache.ClearStationsCache(); }
public override void DidReceiveMemoryWarning() { base.DidReceiveMemoryWarning(); // Release any cached data, images, etc that aren't in use. Console.WriteLine("DidReceiveMemoryWarning: Clearing stations cache."); StationsCache.ClearStationsCache(); }