We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfAccordion requestLayout() improperly called

Hello,

When we use SfAccordion we have this problem (only on Android, not on iOS)

[View] requestLayout() improperly called by android.widget.TextView{a907c6b V.ED..... ......ID 984,0-1066,82} during layout: running second layout pass

[View] requestLayout() improperly called by crc64bed5c1b20a8faf76.AccordionRenderer{eb92ca7 V.E...... ......ID 0,0-1080,82} during layout: running second layout pass

Do you have an idea how to correct it?

P.S. we use the version 20.3.0.52 of expander

Thank you for your help :)


Attachment: Views_2a691914.rar

1 Reply

SY Suthi Yuvaraj Syncfusion Team October 31, 2022 11:37 AM

Hi François,


We have checked the reported query “SfAccordion requestLayout() improperly called” , we have created a sample with provided code snippet , we are unable to reproduce the reported scenario at our end . We have attached a sample for your reference. Please have a look at the sample and let us know if we missed any customization you have done in your application, if possible, please revert to us with modified sample to replicate the reported scenario on our end. It will be more helpful for us to provide a timely solution.


Meanwhile , We have faced the reported scenario where we use the Expander inside the resuable control (eg: ListView), we have suggested to use the custom HeaderIcon to overcome the reported scenario.


Please refer to the following documentation to use custom icons in Expander from the following links,

KB links:

https://www.syncfusion.com/kb/11378/how-to-customize-header-icon-in-xamarin-forms-expander-sfexpander

https://www.syncfusion.com/kb/11469/how-to-use-a-custom-font-icon-for-expander-in-xamarin-forms-sfexpander


Regards,

Suthi Yuvaraj.


Attachment: App1_944e3ced.zip

Loader.
Live Chat Icon For mobile
Up arrow icon