One of our testers reported a bug where our app crashed if an SfPopupView that contained a SfListView was open when navigating away from a page using the NavigationPage soft back button on Android:
Stack traces
Hi Andrew,
We have tested our sample based on the details given. Unfortunately, we are unable to replicate the reported scenario on our end.
Could you please share the following details which will be helpful for us to check on it and provide you with the best possible solution at the earliest?
Also, we have attached our tested sample in this update. Please check our sample and let us know if you are still facing the same issue. If not, please modify our sample based on your scenario and revert us with the replication sample.
Lakshmi Natarajan
Hi Lakshmi, here are some more details:
<sfpv:SfPopupLayout AbsoluteLayout.LayoutBounds="0,0,1,1"
AbsoluteLayout.LayoutFlags="All"
IsOpen="{Binding IsScheduledActivityFilterPopupShowing}"
IsVisible="{Binding IsScheduledActivityFilterPopupShowing}">
<sfpv:SfPopupLayout.PopupView>
<sfpv:PopupView HeightRequest="125"
ShowFooter="False"
ShowHeader="False">
<sfpv:PopupView.ContentTemplate>
<DataTemplate>
<ListView ItemsSource="{Binding ScheduledActivityFilterListItems}"
SeparatorVisibility="None">
<ListView.Behaviors>
<xtk:EventToCommandBehavior Command="{Binding ScheduledActivityItemSelectedCommand}"
EventArgsConverter="{StaticResource SelectedItemChangedEventArgsConverter}"
EventName="ItemSelected" />
</ListView.Behaviors>
</ListView>
</DataTemplate>
</sfpv:PopupView.ContentTemplate>
</sfpv:PopupView>
</sfpv:SfPopupLayout.PopupView>
</sfpv:SfPopupLayout>
I will be doing a round of NuGet package updating and will report back if updating packages fixes the issue.
Hi Andrew,
We regret let you know that we are unable to replicate the reported scenario on our end. We have prepared a simple sample with provided code snippets and version details, attached here for your reference. We have checked the provided exception stacktrace, we didn’t found exception from syncfusion controls, its related to Xamarin.Forms ListView. Could please confirm further you are facing issue while loading Xamarin.Forms.ListView or SfListview as content of SfPopupLayout ? Please revert to us with modified sample to replicate the reported issue on our end. It will be more helpful for us to provide the timely solutions. We will wait to hear from you about whether updating nuget packages resolves the issue.
Regards,
Suja
Hi Suja,
I was also unable to reproduce the issue. I will follow up with the tester who reported the issue and ask them to verify if the exception can still be reproduced.
Hi Andrew,
Thank you for the update.
Please check the reported scenario on your end and get back to us if you need further assistance. We will be happy to assist you.
Lakshmi Natarajan