Skip to content

Instantly share code, notes, and snippets.

@anaisbetts
Created June 2, 2014 21:49
Show Gist options
  • Save anaisbetts/4f062e0df64ae4f21088 to your computer and use it in GitHub Desktop.
Save anaisbetts/4f062e0df64ae4f21088 to your computer and use it in GitHub Desktop.
namespace MobileSample_Android
{
[Application(Label = "AndroidPlayground")]
public class App : Application
{
readonly AutoSuspendHelper suspendHelper;
public App()
{
suspendHelper = new AutoSuspendHelper(this);
RxApp.SuspensionHost.CreateNewAppState = () => new AppBootstrapper();
RxApp.SuspensionHost.SetupDefaultSuspendResume();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment