Created
September 26, 2017 16:01
-
-
Save tomwis/09a8c0c20f4fc763c3af5e1463cc6629 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
public class Setup : MvxFormsAndroidSetup | |
{ | |
public Setup(Context applicationContext) : base(applicationContext) | |
{ | |
} | |
protected override void InitializeFirstChance() | |
{ | |
base.InitializeFirstChance(); | |
Mvx.RegisterSingleton<IFileService>(new FileService()); | |
} | |
protected override IMvxApplication CreateApp() | |
{ | |
return new Core.CoreApp(); | |
} | |
protected override MvvmCross.Forms.Core.MvxFormsApplication CreateFormsApplication() | |
{ | |
return new Core.App(); | |
} | |
protected override IMvxTrace CreateDebugTrace() | |
{ | |
return new DebugTrace(); | |
} | |
protected override IMvxIocOptions CreateIocOptions() | |
{ | |
return new MvxIocOptions() | |
{ | |
PropertyInjectorOptions = MvxPropertyInjectorOptions.All | |
}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment