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
use this code : MainModel currentModel = getItem(holder.getAdapterPosition()); and //---FirebaseDatabase.getInstance().getReference().child("Flowers") .child (getRef(holder.getAdapterPosition()).getKey()).updateChildren(map) .addOnSuccessListener(new OnSuccessListener() {.................
use this code : MainModel currentModel = getItem(holder.getAdapterPosition()); and //---FirebaseDatabase.getInstance().getReference().child("Flowers") .child (getRef(holder.getAdapterPosition()).getKey()).updateChildren(map) .addOnSuccessListener(new OnSuccessListener() {.................
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
sir ye update button mai getref variable mai kya store hai ??
Why when touch the EditText in the dialog , i want back to the ListView , the app close ???
My update_popup shows at the back not in front when I click the Edit button. Btw Thanks a lot.
Can I use pop-up menu to insert data to database ?
yes, i used in my app and worked in the first try after changing some text in the code
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
You should increase the layout height from 1200 to ....
meaning?@@nazansari9902
Sir by this method how can update image
How to write for cloud firestore in update and delete function
getRef(position)
I'm facing error in this code please help me
same to me
i rectified the error...
I got an error in the print position
where did you get the getRef?
That's exact question I have as well
Did you find any answer??
thank you greate efforts
It works ,...Thank You
Welcome 👍
Can Anyone Tell me What is The getRef() method means
use this code : MainModel currentModel = getItem(holder.getAdapterPosition()); and //---FirebaseDatabase.getInstance().getReference().child("Flowers")
.child (getRef(holder.getAdapterPosition()).getKey()).updateChildren(map)
.addOnSuccessListener(new OnSuccessListener() {.................
13:44
how did they solve the position error?
use this code : MainModel currentModel = getItem(holder.getAdapterPosition()); and //---FirebaseDatabase.getInstance().getReference().child("Flowers")
.child (getRef(holder.getAdapterPosition()).getKey()).updateChildren(map)
.addOnSuccessListener(new OnSuccessListener() {.................
my database name is : Flowers ...you may change according to yours
Godlike tutorial