-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
Håvard Moås edited this page Jan 23, 2023
·
14 revisions
To get the default app style, make sure to use the DIPS.Mobile.UI.Style
as your Activity style:
[Activity(Label = "...", Icon = "...", Theme = "@style/DIPS.Mobile.UI.Style", ...)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
...
Initialise the DUI
library to make sure custom renderes/effects/behviors is not removed by the linker:
protected override void OnCreate(Bundle savedInstanceState)
{
...
DIPS.Mobile.UI.Droid.DUI.Init(); //Initialize DIPS.Mobile.UI
}
Initialise the DUI
library to make sure custom renderes/effects/behviors is not removed by the linker:
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
...
DIPS.Mobile.UI.iOS.DUI.Init(); //Initialize DIPS.Mobile.UI
...
return base.FinishedLaunching(app, options);
}