Another great video, James! I do have a question, maybe I'm missing something obvious: what about a reusable control with a data template? eg. refactoring the CollectionView with its styles, layout and commands to be reusable, but providing a specific Data Template implementation on each Page. I know how to reuse Styles (thank you again), just I don't want to rewrite RefreshView...CollectionView...CollectionView.EmptyView when only the Data Binding (and View Model) has changed. Either my brain is being obtuse and I'm not understanding Control Templates or my google-fu is lacking.
@JamesMontemagno Hello ty for videos. i need httpclient operations in my control. where should i make it ? Should i create a controlviewmodel and bind it to control or something else ?
Using the dynamic content of list items to select a datatemplate for a recycled list can get you into trouble. It used to be bad practice and I suspect it still is. The general advice was to have different VM types and serve up different datatemplates based on these different types.
6:30 - you can just remove the inheritance in the code-behind file, that will allow you to modify the root type of your xaml without caring about code-behind.
Where can I find the playlist for the coffe app , he said series, where is that?
Great video James! Thanks a lot
Very helpful video. Thanks James.
Another great video, James!
I do have a question, maybe I'm missing something obvious: what about a reusable control with a data template? eg. refactoring the CollectionView with its styles, layout and commands to be reusable, but providing a specific Data Template implementation on each Page.
I know how to reuse Styles (thank you again), just I don't want to rewrite RefreshView...CollectionView...CollectionView.EmptyView when only the Data Binding (and View Model) has changed. Either my brain is being obtuse and I'm not understanding Control Templates or my google-fu is lacking.
Have you figured something out, I am trying to do something similar to this - render a new template based on the output of a single value
Thank you! this helped me out alot!
How can you process the model inside the container view ? If you call it from xaml ?
@JamesMontemagno
Hello ty for videos.
i need httpclient operations in my control. where should i make it ?
Should i create a controlviewmodel and bind it to control or something else ?
Thanks. I needed this one!
Where does that 'toolkit' namespace come from? (xct)
Hi Man! Great stuff as always! Thanks a lot. Please do something on the Picker control using MVVM and calling a function/form on Item Selection.
Can do for sure :)
Isn't there a way to not use selector if the classes in the list are different?
A really helpfull video, worth my like and the full 5 stars if I could give em. Keep it up Mr Montemagno!
Using the dynamic content of list items to select a datatemplate for a recycled list can get you into trouble. It used to be bad practice and I suspect it still is. The general advice was to have different VM types and serve up different datatemplates based on these different types.
I have a problem with datatemplate selector , i so jitter
cant get this to work on xamarin forms 2019
12:25 - What is the name of the setting with the gray hint?
That is IntelliCode in Visual Studio 2022!
@@JamesMontemagno Thank you from Russia!!!
The best man of the world
6:30 - you can just remove the inheritance in the code-behind file, that will allow you to modify the root type of your xaml without caring about code-behind.
Powli
you have course bro
4:58 - Link us, please :D
The YT bots keep deleting any links I provide to XAML Styler or PrimoDev23's 2022 temporary build :/
Added into the links github.com/Xavalon/XamlStyler
@@JamesMontemagno Thanks!
Thanks, it would be great if we could just use HTML & CSS because XAML is verbose...
⭐⭐⭐⭐⭐
😯😯😯😯😯