Open ragulsv opened 2 years ago
according to the documentation - https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/layouts/bindable-layouts
Bindable layouts should only be used when the collection of items to be displayed is small, and scrolling and selection isn't required. While scrolling can be provided by wrapping a bindable layout in a ScrollView, this is not recommended as bindable layouts lack UI virtualization. When scrolling is required, a scrollable view that includes UI virtualization, such as ListView or CollectionView, should be used. Failure to observe this recommendation can lead to performance issues.
So it seems that what you're getting is exactly what is expected.
Failure to observe this recommendation can lead to performance issues. ??? Yes of course , because collection view or listview has higher performance , is real ? I am sorry. I left using maui and xamarin.
Description
Bindable layout to generate its content by binding to a collection of 100 items, with the option to set the appearance of each item with a DataTemplate has performance lacking issue.
Steps to Reproduce
(or)
Expected Behavior
Binable layout of 100 childrens need to be loaded without any delay.
Actual Behavior
Binable layout of 100 childrens takes 5 second to loaded.
Basic Information
Environment
Workaround
https://github.com/ragulsv/BindableLayoutIssue