Now, we need to wire up the bootstrapper into the app. This should be done as early as possible in the life cycle. Proceed as follows:
- In the News project, open App.Xaml.cs by expanding the App.Xaml node in the Solution Explorer.
- Locate the constructor, and add the following line of code marked in bold:
public App()
{
InitializeComponent();
Bootstrapper.Initialize();
MainPage = new MainPage();
}
Not much to say—it's a single line of code to a static method that initializes the bootstrapper. Well done! Now, we need some graphical touches on our app and we rely on Font Awesome to do the magic.