title: Xamarin app always working in background
body: <p>Once I exit the application, I want the application go in tray. So I do't want to turn off the app even when I click on the exit. I tried to overwrite methods that are executed after I exit the application:</p>
  
  <pre><code> protected override void OnStop()
          {
              Intent main = new Intent(Intent.ActionMain);
              main.AddCategory(Intent.CategoryHome);
              StartActivity(main);
  
              //base.OnStop();
          }
  </code></pre>
  
  <p>Simply I want that, when a user wants to exit the app go in minimize state, and after that display a notification that the application is still working.</p>