public static void ShinyOnNewIntent(this Activity activity, Intent intent)
 => AndroidShinyHost.TryProcessIntent(intent);
 public static void ShinyOnCreate(this Application application, IShinyStartup?startup = null, Action <IServiceCollection>?platformBuild = null)
 => AndroidShinyHost.Init(application, startup, platformBuild);
 public static void ShinyOnCreate(this Activity activity)
 => AndroidShinyHost.TryProcessIntent(activity.Intent);
 public static void ShinyRequestPermissionsResult(this Activity activity, int requestCode, string[] permissions, Permission[] grantResults)
 => AndroidShinyHost.OnRequestPermissionsResult(requestCode, permissions, grantResults);
Example #5
0
 public override void OnCreate()
 {
     base.OnCreate();
     AndroidShinyHost.Init(this, null, this.OnBuildApplication);
 }
Example #6
0
 public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Permission[] grantResults)
 {
     AndroidShinyHost.OnRequestPermissionsResult(requestCode, permissions, grantResults);
     base.OnRequestPermissionsResult(requestCode, permissions, grantResults);
 }
Example #7
0
 public override void OnTrimMemory([GeneratedEnum] TrimMemory level)
 {
     AndroidShinyHost.OnBackground(level);
     base.OnTrimMemory(level);
 }
Example #8
0
 protected virtual void InitShiny()
 {
     AndroidShinyHost.Init(this, null, this.OnBuildApplication);
 }