question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DataTemplateSelector not returning DataTemplate used with BindableLayout FlexLayout

See original GitHub issue

Description

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:open
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
msftbot[bot]commented, Jun 13, 2022

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.

0reactions
msftbot[bot]commented, Mar 14, 2023

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found