Xamarin.Forms 101: Commands | The Xamarin Show

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ •

  • @rizaanjappie
    @rizaanjappie 4 роки тому +7

    These 101s is such a good approach to learning.

  • @LuizCarlosNolasco
    @LuizCarlosNolasco 4 роки тому +1

    I LOVE learning Xamarin Forms on Channel 9 with Xamarin Show 101. Montemagno you are the #1 !!!

  • @mayurprasad1859
    @mayurprasad1859 5 років тому

    I think declaring Command like this is better then creating a variable and instance of ICommand/Command.
    public Command IncreaseCount
    {
    get
    {
    return new Command((object obj) =>
    {
    count++;
    });
    }
    }
    I love Xamarin.Forms 101, looking forward to more awesome videos.

    • @ShitBrick785
      @ShitBrick785 5 років тому +1

      Let's say you have 3 buttons that should all 3 do the same thing when you invoke the command. With your way wouldn't there be 3 different references versus 1?

  • @obulorn
    @obulorn 3 роки тому

    Many thanks, you made it soooo super easy

  • @troupebase2292
    @troupebase2292 2 роки тому

    How would you do the same exact thing when user starts typing inside entry control and the text changed?

  • @jaimerojas6578
    @jaimerojas6578 5 років тому

    Great! This looks pretty easy and useful!

  • @pramodpatil4148
    @pramodpatil4148 5 років тому +1

    Very informative!!!

  • @teriyakov
    @teriyakov 4 роки тому

    Say my view-model had a list of objects, and as part of the child object properties, i wanted to include commands. Can anyone point me to such an implementation? Is this even the right way to do it or should I be following a different pattern for firing model specific events?
    Also, slightly off topic but can the child objects be view-models themselves? Or is that an anti-pattern?

    • @RaabStephan
      @RaabStephan 4 роки тому

      The answer is yes.
      If you've got a listview (list of objects), you can bind a command to those objects so that something happens when you click on one of those children.

  • @JHR987654321
    @JHR987654321 4 роки тому

    Here's the DataBinding vid James referenced at 2:50 that would be in the show notes in the description, but I don't see it there
    ua-cam.com/video/pr03CYqhFr4/v-deo.html&ab_channel=MicrosoftDeveloper

  • @benitohernandezramirez6276
    @benitohernandezramirez6276 5 років тому +2

    Nice!! :D

  • @purplepanther4153
    @purplepanther4153 5 років тому

    James I dont have problem with xamarin but Its been in 2 hours already and I cant even fire up xamarin project with VS 2019. ITs bad mate.

    • @gabrielsidequest
      @gabrielsidequest 4 роки тому

      Tru tho.

    • @LuizCarlosNolasco
      @LuizCarlosNolasco 4 роки тому

      Hi guys. The setup and version show in this video is different of VS 2019. So the difficults is very more.
      I'm using Xamarin Studio 6.1.5, Xamarin.iOS 10.3.1.8, Xcode 8.2.1, Xamarin.Android 7.0.2.42 and Mac OS X 10.13.6. This setup is fully functionly.
      For Xamarin Forms newer my tips is watch videos more new for exemple channel9.msdn.com/Series/Xamarin-101 of Sep, 2019.

  • @tajeddinealaoui445
    @tajeddinealaoui445 3 роки тому +1

    I wish if Xamarin supports html instead of shi*** xaml.