Xamarin.Forms has to be initialized in your application before you can use it. See how to properly set up your application to use Xamarin.Forms.
- [Instructor] We have our Xamarin.Forms application,…but we need to get that started and initialized…inside our platform-specific applications.…Let's go look at the Android application.…If we go to the MainActivity,…which shows our Android startup activity,…you'll see that in the OnCreate…what's happened when we created this…and used that project template…was that we have a Xamarin.Forms.Forms.Init…and it passes in some context information from Android…in order to initialize the Xamarin.Forms…runtime and infrastructure.…
And then we have a LoadApplication call…that takes an application.…This is our app from the shared library,…not from the Android,…and this is where that gets created and loaded.…It's important to understand…that this LoadApplication method…comes from the base class for activity,…so our activity is deriving…from the Xamarin.Forms.Platform.Android…FormsAppCompatActivity.…That's important because if you create…one of these from scratch,…you're gonna need to use that base class…for your Xamarin.Forms activities to work within Android.…
- Creating a Xamarin.Forms solution
- Navigating between pages
- Screen layouts and controls in Xamarin.Forms
- Data binding
- Adding style to a control
- Using a Xamarin.Essentials package
- Embedding native controls in your shared forms
- Writing custom renderers
Skill Level Beginner
Xamarin Development: Authentication and Identitywith Matt Milner1h 32m Intermediate
What you should know1m 21s
2. Layout and Controls
3. Native Platform Integration
4. Native Controls and Renderers
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.