Good, I ask you another question, because I know I can count on your help.
I have been starting to use Firebase, which is why I have some doubts. If Firebase is made to be used without internet, then how do I confirm if an "action" is executed, for example:
ref.child(user.getUid()).child("Animales").child(child.child("id").getValue(String.class)).removeValue();
It is a reference to a node that I want to delete, but I need to make another "action" when it is confirmed. If I use:
ref.child(user.getUid()).child("Animales").child(child.child("id").getValue(String.class)).removeValue().addOnCompleteListener()...
or
ref.child(user.getUid()).child("Animales").child(child.child("id").getValue(String.class)).removeValue().addOnSuccessListener()..
They serve me perfectly, but only if I have an internet connection. By the way, my disk persistence is working fine.