Skip to content

Instantly share code, notes, and snippets.

@LukyanovAnatoliy
Created April 18, 2019 21:59
Show Gist options
  • Save LukyanovAnatoliy/17c1834a2a74e02e14b6f9c7a9a6624b to your computer and use it in GitHub Desktop.
Save LukyanovAnatoliy/17c1834a2a74e02e14b6f9c7a9a6624b to your computer and use it in GitHub Desktop.
remoteDB.collection(“Tasks”)
.get()
.addOnSuccessListener { querySnapshot ->
// Successfully received data. List in querySnapshot.documents
}
.addOnFailureListener { exception ->
// An error occurred while getting data
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment