RichCrAndroid
RichCrAndroid

Reputation: 15

Navigation page shows blank screen in .net maui

I have come to realize that there is a bug in .net Maui. Navigation page shows blank screen. However a work around was provided on GitHub community and I was wondering if anybody has been able to implement it.

This is the link https://github.com/dotnet/maui/issues/1124#issuecomment-852261127

Any help will be appreciated

This is what I did. In app.xaml.cs my mainpage is set like this MainPage = new NavigationPage(new Login page);

But this navigates to empty pages not only in one app but almost all the apps I develop.

Somebody on GitHub provided a solution but I don't understand how to use it. Is there anybody who can help me out with this? Here is the link. https://github.com/dotnet/maui/issues/1124#issuecomment-852261127

Many thanks in advance.

Upvotes: 0

Views: 2441

Answers (1)

Bainn
Bainn

Reputation: 37

I think this has something to do with MVVM data bindings. I am having the same issue. When I remove the Page Model data bindings then the contents show up. So I have switched to the code behind.

Upvotes: 0

Related Questions