Skip to content

Instantly share code, notes, and snippets.

@tmaxxdd
Last active May 22, 2019 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmaxxdd/5698ba6d964a1e10a587108d19a5f185 to your computer and use it in GitHub Desktop.
Save tmaxxdd/5698ba6d964a1e10a587108d19a5f185 to your computer and use it in GitHub Desktop.
// This is a reference to the project (root)
// Here you can manage state and logging
val database = FirebaseDatabase.getInstance()
// This is a reference to the specific data.
// Here you can work with your informations.
val myRef = database.getReference("fajne-koty")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment