4. Update and Delete data in Firebase Database | Android

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 32

  • @harshilkaria7420
    @harshilkaria7420 Месяц назад

    I am facing an issue that when i open keyboard its size is 1200 from bottom so the kyeboard hides it please help me out

  • @animmortalmusic1248
    @animmortalmusic1248 3 года назад +2

    My update_popup shows at the back not in front when I click the Edit button. Btw Thanks a lot.

  • @CRIZ209
    @CRIZ209 2 года назад

    Why when touch the EditText in the dialog , i want back to the ListView , the app close ???

  • @emmanuelevans8427
    @emmanuelevans8427 2 года назад

    Thank you so much for this video. It is more like an answered prayer for me. I just have one more challenge. My popup update layout has more fields than the example, so I can't see the first two fields when I want to update. Can I have it constrained or implement a recycler view on it. Thanks

  • @vipulhihoriya2914
    @vipulhihoriya2914 Год назад

    sir ye update button mai getref variable mai kya store hai ??

  • @sthembisoncwane3412
    @sthembisoncwane3412 2 года назад +2

    Can I use pop-up menu to insert data to database ?

    • @matheusalmeida1302
      @matheusalmeida1302 2 года назад

      yes, i used in my app and worked in the first try after changing some text in the code

  • @biciindia2603
    @biciindia2603 3 года назад

    How to write for cloud firestore in update and delete function

  • @mohomedirfan5010
    @mohomedirfan5010 7 месяцев назад

    It works ,...Thank You

  • @vivekbillore6426
    @vivekbillore6426 Год назад

    thank you greate efforts

  • @pratyushpandey2238
    @pratyushpandey2238 2 года назад

    Sir by this method how can update image

  • @best_funny123
    @best_funny123 2 года назад

    I got an error in the print position

  • @korde4151
    @korde4151 Год назад

    Godlike tutorial

  • @ShakeelAhmad-sc9gv
    @ShakeelAhmad-sc9gv Год назад

    getRef(position)
    I'm facing error in this code please help me

  • @YashVerma-pz4tu
    @YashVerma-pz4tu 2 года назад

    Can Anyone Tell me What is The getRef() method means

    • @mohomedirfan5010
      @mohomedirfan5010 7 месяцев назад

      use this code : MainModel currentModel = getItem(holder.getAdapterPosition()); and //---FirebaseDatabase.getInstance().getReference().child("Flowers")
      .child (getRef(holder.getAdapterPosition()).getKey()).updateChildren(map)
      .addOnSuccessListener(new OnSuccessListener() {.................

  • @sumayaazadjerin2063
    @sumayaazadjerin2063 Год назад

    where did you get the getRef?

  • @wildwoolf9986
    @wildwoolf9986 10 месяцев назад

    13:44

  • @pavelsantiago7613
    @pavelsantiago7613 11 месяцев назад

    how did they solve the position error?

    • @mohomedirfan5010
      @mohomedirfan5010 7 месяцев назад

      use this code : MainModel currentModel = getItem(holder.getAdapterPosition()); and //---FirebaseDatabase.getInstance().getReference().child("Flowers")
      .child (getRef(holder.getAdapterPosition()).getKey()).updateChildren(map)
      .addOnSuccessListener(new OnSuccessListener() {.................

    • @mohomedirfan5010
      @mohomedirfan5010 7 месяцев назад

      my database name is : Flowers ...you may change according to yours