Last active
September 15, 2016 15:30
-
-
Save mogeta/c4c1ec6e3e7efc1accc8fced8c10c2f7 to your computer and use it in GitHub Desktop.
firebase dto
This file contains 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
private DatabaseReference mFirebaseDatabaseReference; | |
private void Add(Uri uri){ | |
FoodMenu foodMenu = new FoodMenu("title","detail",800,uri.toString()); | |
mFirebaseDatabaseReference.child(MESSAGES_CHILD) | |
.push().setValue(foodMenu); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment