-
-
Save jonpryor/d5e96c2a21683f0a8425 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace MobileSample_Android | |
{ | |
[Application(Label = "AndroidPlayground")] | |
public class App : Application | |
{ | |
readonly AutoSuspendHelper suspendHelper; | |
public App(IntPtr handle, JniHandleOwnership transfer) | |
: base (handle, transfer) | |
{ | |
} | |
public override void OnCreate () | |
{ | |
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