You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When embedding Xamarin.Form pages into a Xamarin.Android native app the app crashes with a Null Reference Exception. The reason for this exception is this code line:
When embedding Xamarin.Form pages into a Xamarin.Android native app the app crashes with a Null Reference Exception. The reason for this exception is this code line:
https://github.com/muak/AiForms.SettingsView/blob/master/SettingsView.Droid/Cells/CellBaseView.cs#L102
var contentView = (_Context as FormsAppCompatActivity).LayoutInflater.Inflate(Resource.Layout.CellBaseView, this, true);
When used in an embedded context, you cannot assume
_Context
is of typeFormsAppCompatActivity
.Information about embedding: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/native-forms
The text was updated successfully, but these errors were encountered: