Quantcast
Channel: User Liyun Zhang - MSFT - Stack Overflow
Browsing all 445 articles
Browse latest View live
↧

Comment by Liyun Zhang - MSFT on Added frame is not working between two...

Did you try to use the Border instead of the Frame? The official document said: "The Frame class existed in Xamarin.Forms and is present in .NET MAUI for users who are migrating their apps from...

View Article


Comment by Liyun Zhang - MSFT on Maui MVVM: most simple pattern not working

The command busyViewModel.IsBusy = true; change the value of the CommandViewModel's busyViewModel. Did you bind the CommandViewModel's busyViewModel to the label and ActivityIndicator?

View Article


Answer by Liyun Zhang - MSFT for Maui MVVM: most simple pattern not working

First of all, the code you used:<Button Text="Click Me" BindingContext="{Binding Source={vm:CommandViewModel}}" Command="{Binding ClickCommand}"/><Label BindingContext="{Binding...

View Article

Comment by Liyun Zhang - MSFT on Client Web Socket Getting Aborted After...

What platform did you test on?

View Article

Comment by Liyun Zhang - MSFT on Issue with CollectionView...

I created a new sample but I didn't meet the two issues. In my test, the RemainingItemsThresholdReached event fired two times when the last items displayed.

View Article


Comment by Liyun Zhang - MSFT on How hide MAUI window?

You can set the default page as LoginPage, and then call App.Current.MainPage = new MainPage() after successful login. Or you can use NavigationPage and navigate from LoginPage to MainPage after...

View Article

Comment by Liyun Zhang - MSFT on Unexpected Behavior After Visual Studio and...

Did you try to test on different devices? In addition, you can try to delete the bin and obj folder and then clean and rebuid it.

View Article

Comment by Liyun Zhang - MSFT on Problem with DependencyService in .NET MAUI...

For the maui, you don't have to use the DependencyService to call the platform native code. You can just use Conditional compilation.

View Article


Comment by Liyun Zhang - MSFT on How to Ensure Smooth Navigation to LoginPage...

In my test, the white screen only appear when I set new value for App.Current.MainPage. The Shell.Current.GoToAsync will not cause it.

View Article


Comment by Liyun Zhang - MSFT on How to Wake Up a .NET MAUI App in the...

Did you read the official document about Restrictions on starting activities from the background? On the Android 10 and heigher version, user need to tap the notification to wake up the app.

View Article

Comment by Liyun Zhang - MSFT on How to Replace Acr.UserDialogs in a MAUI...

Did you check the popup for the Maui?

View Article

Comment by Liyun Zhang - MSFT on .NET MAUI reader like a book

Can you show the effect you got and the expected effect you want about the many Line Break tags?

View Article

Answer by Liyun Zhang - MSFT for How to Wake Up a .NET MAUI App in the...

First of all, you can read the official document about the Restrictions on starting activities from the background.And then you can refer to the official document about Start an Activity from a...

View Article


Comment by Liyun Zhang - MSFT on MAUI - How to detect double tap on a pin on...

Did you try the NumberOfTapsRequired proerty of the TapGestureRecognizer?

View Article

Comment by Liyun Zhang - MSFT on MAUI - How can slider reduction be prevented?

You can try to set the InputTransparent Property as false when the timer run.

View Article


Answer by Liyun Zhang - MSFT for How to Replace Acr.UserDialogs in a MAUI...

I created a sample about displaying progress bar in the popup:The code in the xaml:toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"...

View Article

Comment by Liyun Zhang - MSFT on .NET MAUI MVVM Binding on Appearing

Did you mean that the itemsource data is not ready when the contentpage display first time?

View Article


Comment by Liyun Zhang - MSFT on The specified child already has a parent....

Did you try to debug to find which line caused this error?

View Article

Comment by Liyun Zhang - MSFT on How to fetch call logs in .NET MAUI for...

You can try to use global :: Android.App.Application.Context.ContentResolver.Query.

View Article

Comment by Liyun Zhang - MSFT on Indicated icon for MAUI iOS does not appear...

Did you change it in the Platforms\iOS\Info.plist follow the official document?

View Article
Browsing all 445 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>