Remove Item from ListView

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

КОМЕНТАРІ •

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

    If you had showed me this in person I would have just given you the biggest hug ever! Thank you!

  • @alkana
    @alkana 7 років тому +6

    Hey I just want to add something :)
    Instead of using the clicked method you can also x:name de contentpage and x:reference the binding directly so you don't need to write something in the code behind.
    ...
    This should work as well might need to adjust a little bit with the command parameter but it will work :)

  • @PranshuJawadeishere
    @PranshuJawadeishere 6 років тому +1

    Hey how do you get that intellisense on xaml and with Binded product?

  • @artrichardson4171
    @artrichardson4171 6 років тому +1

    Another excellent video! I discovered that it's possible to bind the command property of the "Remove" button directly to the vm command and set the CommandParameter property to "{Binding .}" to achieve the same behavior without using the "clicked" method. Not sure if this is because I'm using a later version of Xamarin forms in my project.

  • @abdelmonemsaad714
    @abdelmonemsaad714 7 років тому +1

    برافو ، تونسي رافع الراس، ،،continue, go ahead

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

    Ayuda. Siempre obtengo null cuando obtengo BindingContext as Product. ¿Tiene que ver que estoy usando TabbedPage en vez de ContentPage?

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

    Hello Houssem. I have a problem when i remove the any element from ListView it gives me System.NullReferenceException:

  • @ahmadchishti8848
    @ahmadchishti8848 7 років тому +1

    is this the only way if we run into these context conflicts?

    • @HoussemDellai
      @HoussemDellai  7 років тому +1

      Ahmad Chishti I think it is the simplest solution.

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

    Hi Houssem Dellai how do i add product to database using button

  • @amitsrivastav818
    @amitsrivastav818 7 років тому +1

    hi Houssem Dellai, As in this video you used button clicked event due to button is not present in that context , is it possible to use command directly?

    • @HoussemDellai
      @HoussemDellai  7 років тому +1

      amit srivastav for this scenarion, no. You need to pass through clicked event to invoke the command.

    • @alkana
      @alkana 7 років тому +7

      Hey Amit,
      You can here's a sample :)






      referencing the source makes you able to locate the command by using the Path. This is very usefull to keep the code behind as clean as possible

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

      @@alkana Thank you Luuk, You cleared my understanding of Binding. Your answer helps a lot!

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

      @@alkana How do you learn Binding concepts such deeply? Can I have guidance please!

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

      @@alkana Excelente tu respuesta! Very usefull your answer bro, ty

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

    Thank you. Your video helped me a lot! It's useful for Xamarin newbie like me.

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

    Oh my god thank you so much, I;ve been stuck on this for ages

  • @omarwalid7097
    @omarwalid7097 6 років тому

    Hi Houssem , I Work On Project On Xamarin Online Exam
    I want prevent User from using any other app or phone call or open notification can you help me with that

  • @АязЗабиров
    @АязЗабиров 7 років тому

    What about using this without MVVM?

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

      Well technically he's not using mvvm. But, the clicked event is in the page use the Source reference

  • @pauldaviddavies
    @pauldaviddavies 6 років тому

    Lovely, simple and clear. I just had to subscribe...

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

    omg broo i love you, you don't know how much you helped me thanks a lot.

  • @onedesenvolvimentosolucoes
    @onedesenvolvimentosolucoes 6 років тому

    whats code source?

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

    Thank you! great as always

  • @samirdesigner3324
    @samirdesigner3324 7 років тому +2

    very thanks

  • @Nithinjoykk
    @Nithinjoykk 6 років тому

    Thanks bro..........

  • @vipinkrishna131
    @vipinkrishna131 6 років тому +1

    You are God !!!