December 2018
Intermediate to advanced
416 pages
10h 30m
English
Just like for iOS, the Bootstrapper for Android is a simple wrapper for the common bootstrapper defined in the .NET Standard library, but with the addition of an Init method that will be called at startup:
public class Bootstrapper : DoToo.Bootstrapper{ public static void Init() { var instance = new Bootstrapper(); }}
We then need to call this Init method. A good place to do this is right before the LoadApplication call in OnCreate:
protected override void OnCreate(Bundle bundle){ TabLayoutResource = Resource.Layout.Tabbar; ...Read now
Unlock full access