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
My update_popup shows at the back not in front when I click the Edit button. Btw Thanks a lot.
Why when touch the EditText in the dialog , i want back to the ListView , the app close ???
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 ye update button mai getref variable mai kya store hai ??
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
How to write for cloud firestore in update and delete function
It works ,...Thank You
Welcome 👍
thank you greate efforts
Sir by this method how can update image
I got an error in the print position
Godlike tutorial
getRef(position)
I'm facing error in this code please help me
same to me
i rectified the error...
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() {.................
where did you get the getRef?
That's exact question I have as well
Did you find any answer??
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