DataTemplateSelector not returning DataTemplate used with BindableLayout FlexLayout
See original GitHub issueDescription
Using DataTemplateSelector with FlexLayout
<FlexLayout
BindableLayout.ItemTemplate="{StaticResource MenuButtonTemplate}"
...
Steps to Reproduce
Write simple DataTemplateSelector and use it with BindableLayout FlexLayout
Version with bug
6.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
IOS 15, macOS 12.4
Did you find any workaround?
Using the same DateTemplateSelector with CollectionView working without any issue
<CollectionView
ItemTemplate="{StaticResource MenuButtonTemplate}">
...
Relevant log output
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
DataTemplateSelector not returning DataTemplate used with ...
DataTemplateSelector not returning DataTemplate used with BindableLayout FlexLayout · Summary · Jobs. label-partner-issues · Run details. Usage · Workflow file.
Read more >BindableLayout - .NET MAUI
ItemTemplateSelector – specifies the DataTemplateSelector that will be used to choose a DataTemplate for an item at runtime.
Read more >Data Template Selector not called - xamarin
1 Answer. BindableLayout. ItemsSource should specifie the collection of IEnumerable items to be displayed by the layout. So i modify your ...
Read more >Binding a FlexLayout to a Collection - Dave's Tech Blog
It only permits a single defined DataTemplate to be used. It doesn't allow a DataTemplateSelector to choose a DataTemplate at runtime based on ......
Read more >Xamarin.Forms - Bindable Layout
ItemTemplateSelector – specifies the DataTemplateSelector that will be used to choose a DataTemplate for an item at runtime. In simple terms, a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @abdelbary8. We have added the “s/needs-info” label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
We’ve added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.