Created
September 5, 2017 02:22
-
-
Save ZaelAndrew11/ee678275bedf91bb9b151ce92975dfcc to your computer and use it in GitHub Desktop.
Desafío 001 - E8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cl.aguzman.desafioe08_1; | |
import com.google.firebase.database.DatabaseReference; | |
import com.google.firebase.database.FirebaseDatabase; | |
public class Nodes { | |
private DatabaseReference root = FirebaseDatabase.getInstance().getReference(); | |
public DatabaseReference getReference() { | |
return root; | |
} | |
public DatabaseReference getReferenceAddress(){ | |
return root.child("clients").child("jhkkjnkjn").child("address"); | |
} | |
public DatabaseReference getClients(String client){ | |
return root.child("clients").child(client); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment