James, you are one of the best explainers out there, right up with Hanselman.
@RobUttley3 жыл бұрын
Great - the x:Null bit had passed me by the first time I saw compiled bindings and I found that having them turned on caused me problems. Now I understand the x:Null, I’ll go back and adopt this approach again. Nice one, thanks James!
@JamesMontemagno3 жыл бұрын
Same here! Took me a while to figure that one out
@dineshb80163 жыл бұрын
Exactly same for me
@christianzaragoza7575 Жыл бұрын
Lo que estoy aprendido con tus tutoriales no tienes idea, son mas claros que la misma documentación oficial, se agradece todo el material que nos brindas. Muchísimas gracias.
@markmbouma3 жыл бұрын
Really nice. That's been my default xaml technique for quite some time now. It's good to have a dedicated video about it because a lot of folks out there still aren't using it.
@vukilesimelane20333 жыл бұрын
Thank you sooo much James. Much appreciated!!!!
@anandshindey3 жыл бұрын
Just what I wanted. Thanks.
@Jad.abouzaki2 жыл бұрын
Thank you
@belmiris13712 жыл бұрын
x:DataType="{x:Null}" just made my listview start showing strings in my ListView. Thank you!
@EdRawrDev58136 ай бұрын
is there any way to use preprocessor directives on XAML ??
@bondarenkodf3 жыл бұрын
Hei! x:datatype perfectly works with interfaces, so the possible solution for the case with grouping is to create a class which is inheriting the class Grouping and the interface IGrouping { string Key {get;}}
@JamesMontemagno3 жыл бұрын
I think I’m going to add this in to my api :)
@emreaka39653 жыл бұрын
Hey guys, I have some confusing about learning mobile development. Should I start with native or cross-platform? (I have knowledge of back-end and some front-end web dev.)
@DhruvKanojia3 жыл бұрын
Hey James, I've been following you since 2015 (Since I started with Xamarin Forms)... cool libraries and content you've got. And I do have a question that "maybe" you can showcase in some episode if you get a chance. I wanted to show "tabular" data in my app. All I could find was syncfusion and some other third party "Datagrid". But, those don't work well when you have a dynamic data coming from your REST API. I was able to create presentable table via grid and some dynamic addition of columns (stacklayouts). But, it's very limited. So, what would you suggest in that case? Would love some insight on this, if possible. Again, thanks for this amazing series and your work on Xamarin :D
@GuildOfCalamity2 жыл бұрын
Is it possible to enable XamlCompilation in a WPF application?
@hkchan44703 жыл бұрын
Hi James, do you have guide on how to implement Firebase notification properly ? Appreciate that . Thanks.
@JamesMontemagno3 жыл бұрын
See allanritchie.com/posts/shiny20
@hkchan44703 жыл бұрын
@@JamesMontemagno Thanks !
@mattkenefick3 жыл бұрын
Is this something that will eventually become an automatic enhancement? It seems like something that Visual Studio could infer on some files based on the top level BindingContext if one is not supplied.
@JamesMontemagno3 жыл бұрын
That is the plan. It does pick up some stuff automatically with the BindingContext
@thiagooliveira-ti3 жыл бұрын
Ohhh!
@blinkskaterkc3 жыл бұрын
I've been setting the BindingContext in the code behind, and I've got the XamlCompilation assembly setting. I am not using that x:DataType line yet. Is that alone going to give me this speed-up enhancement???
@JamesMontemagno3 жыл бұрын
XamlCompilation will improve performance but compiled bindings will further improve performance. It is fine to see the binding context in the code behind as I said just also set the x:DataType
@blinkskaterkc3 жыл бұрын
@@JamesMontemagno You're my favorite person. Thanks for clarifying! 👍
@echolumaque21303 жыл бұрын
Can I use this even if I'm using Prism?
@JamesMontemagno3 жыл бұрын
Of course it a Xamarin.Forms feature and works with everything. Think of it as extra metadata. You can set the BindingContext however you want
@mustaphaben29213 жыл бұрын
Do a video about MVU
@JamesMontemagno3 жыл бұрын
Will add it to my topic list for sure as I mostly do MVVM and not much MVU, but I am excited to try it out.
@mustaphaben29213 жыл бұрын
@@JamesMontemagno Thanks
@chummer44933 жыл бұрын
There's a better way then using x:Null for group header data type. You can make your group collection to implement some interface that has this Key property or some other properties you might need for your group header
@JamesMontemagno3 жыл бұрын
Nice pro tip!
@adjanohadamamarcel2073 жыл бұрын
I'm interested by this approach. Can you explain it more or provide a link for further understanding ? Thanks
@chummer44933 жыл бұрын
@@adjanohadamamarcel207 Here's quick example. I haven't run it, but it shows a general idea github.com/ChummerUA/XamarinFormsGroupHeaderDataTypeExample
@LuigiTrabacchin3 жыл бұрын
just out of curiosity would something like: docs.microsoft.com/en-us/dotnet/desktop/xaml-services/generics work ? or maybe writing a markup extension is necessary ? also i read that changing angular brakets with parenteses should do the trick docs.microsoft.com/en-us/dotnet/desktop/xaml-services/xtypearguments-directive but maybe only inside that previous "parameter"